Commit 71c73abcdcc2535e2bed77329e5f75c85cd50da1
1 parent
248f559f
Import browser beta v0.1
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
common/modules/product/models/Product.php
| ... | ... | @@ -347,7 +347,13 @@ |
| 347 | 347 | |
| 348 | 348 | public function beforeSave($insert) |
| 349 | 349 | { |
| 350 | - return parent::beforeSave($insert); | |
| 350 | + | |
| 351 | + if (parent::beforeSave($insert)) { | |
| 352 | + var_dump('THERE'); die(); | |
| 353 | + return true; | |
| 354 | + } else { | |
| 355 | + return false; | |
| 356 | + } | |
| 351 | 357 | } |
| 352 | 358 | |
| 353 | 359 | public function afterSave($insert, $changedAttributes) | ... | ... |