Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Aug 22, 2017
1 parent 97b5e0d commit 5e093a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controllers/AdminCmsContentElementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@ static public function getColumnsByContent($cmsContent = null, $dataProvider = n
return [];
}

$model = CmsContentElement::find()->where(['content_id' => $cmsContent->id])->one();
$model = null;
//$model = CmsContentElement::find()->where(['content_id' => $cmsContent->id])->one();

if (!$model)
{
Expand Down

0 comments on commit 5e093a2

Please sign in to comment.