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,13 +261,12 @@ | ||
261 | * @var ActiveRecord $owner | 261 | * @var ActiveRecord $owner |
262 | */ | 262 | */ |
263 | $owner = $this->owner; | 263 | $owner = $this->owner; |
264 | - | 264 | + if($owner instanceof Product) { |
265 | + var_dump($owner->product_id); die(); | ||
266 | + } | ||
265 | if(!empty( $this->model_langs )) { | 267 | if(!empty( $this->model_langs )) { |
266 | if($this->linkLangs() && $this->saveLangs()) { | 268 | if($this->linkLangs() && $this->saveLangs()) { |
267 | $this->_transaction->commit(); | 269 | $this->_transaction->commit(); |
268 | - if($owner instanceof Product) { | ||
269 | - var_dump($owner); die(); | ||
270 | - } | ||
271 | $this->_transaction_status = true; | 270 | $this->_transaction_status = true; |
272 | } else { | 271 | } else { |
273 | $this->_transaction->rollBack(); | 272 | $this->_transaction->rollBack(); |