Skip to content

Commit

Permalink
Критичный баг
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Dec 17, 2016
1 parent 3251fee commit e212e13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,10 @@
CHANGELOG
==============

1.0.12.1
-----------------
* Критичный баг

1.0.12
-----------------
* Доработки
Expand Down
2 changes: 1 addition & 1 deletion components/V3toysComponent.php
Expand Up @@ -23,6 +23,6 @@ class V3toysComponent extends Component
*/
public function getV3toysIdByCmsElement($cmsContentElement)
{
return (int) $cmsContentElement->relatedPropertiesModel->getAttribute($this->v3toysIdPropertyName);
return (int) $cmsContentElement->relatedPropertiesModel->getAttribute(\Yii::$app->v3toysSettings->v3toysIdPropertyName);
}
}

0 comments on commit e212e13

Please sign in to comment.