Commit 5948c4628924b805cd466f2fe6e347d401cf33cc
1 parent
e007922e
Import browser beta v0.1
Showing
1 changed file
with
3 additions
and
4 deletions
Show diff stats
common/modules/language/behaviors/LanguageBehavior.php
... | ... | @@ -261,13 +261,12 @@ |
261 | 261 | * @var ActiveRecord $owner |
262 | 262 | */ |
263 | 263 | $owner = $this->owner; |
264 | - | |
264 | + if($owner instanceof Product) { | |
265 | + var_dump($owner->product_id); die(); | |
266 | + } | |
265 | 267 | if(!empty( $this->model_langs )) { |
266 | 268 | if($this->linkLangs() && $this->saveLangs()) { |
267 | 269 | $this->_transaction->commit(); |
268 | - if($owner instanceof Product) { | |
269 | - var_dump($owner); die(); | |
270 | - } | |
271 | 270 | $this->_transaction_status = true; |
272 | 271 | } else { |
273 | 272 | $this->_transaction->rollBack(); | ... | ... |