Commit 6a9ccc53989b4088808eda4d7748896c167050ac
1 parent
681cf02c
Import browser beta v0.1
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
common/modules/product/models/Product.php
| @@ -345,6 +345,11 @@ | @@ -345,6 +345,11 @@ | ||
| 345 | ->sum('quantity'); | 345 | ->sum('quantity'); |
| 346 | } | 346 | } |
| 347 | 347 | ||
| 348 | + public function beforeSave($insert) | ||
| 349 | + { | ||
| 350 | + return parent::beforeSave($insert); | ||
| 351 | + } | ||
| 352 | + | ||
| 348 | public function afterSave($insert, $changedAttributes) | 353 | public function afterSave($insert, $changedAttributes) |
| 349 | { | 354 | { |
| 350 | parent::afterSave($insert, $changedAttributes); | 355 | parent::afterSave($insert, $changedAttributes); |