Commit 18d6bf692d23829825a3238380780941321eedab

Authored by Yarik
1 parent 7c4bd867

Import browser beta v0.1

common/modules/language/behaviors/LanguageBehavior.php
... ... @@ -237,7 +237,7 @@
237 237 $success = true;
238 238 $model_langs = $this->model_langs;
239 239 foreach($model_langs as $model_lang) {
240   - if($model_lang->save(false) === false) {
  240 + if($model_lang->save() === false) {
241 241 $success = false;
242 242 }
243 243 }
... ...
common/modules/product/models/Product.php
... ... @@ -349,7 +349,6 @@
349 349 {
350 350 parent::afterSave($insert, $changedAttributes);
351 351  
352   -
353 352 if(!empty($this->categories)){
354 353 $categories = Category::findAll($this->categories);
355 354 $this->unlinkAll('categories', true);
... ...