Commit ce103fabe72d7e823af1fd035d74c2730e694d8d
1 parent
7126d7a3
Import browser beta v0.1
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
common/modules/language/behaviors/LanguageBehavior.php
@@ -264,10 +264,10 @@ | @@ -264,10 +264,10 @@ | ||
264 | 264 | ||
265 | if(!empty( $this->model_langs )) { | 265 | if(!empty( $this->model_langs )) { |
266 | if($this->linkLangs() && $this->saveLangs()) { | 266 | if($this->linkLangs() && $this->saveLangs()) { |
267 | + $this->_transaction->commit(); | ||
267 | if($owner instanceof Product) { | 268 | if($owner instanceof Product) { |
268 | var_dump($owner); die(); | 269 | var_dump($owner); die(); |
269 | } | 270 | } |
270 | - $this->_transaction->commit(); | ||
271 | $this->_transaction_status = true; | 271 | $this->_transaction_status = true; |
272 | } else { | 272 | } else { |
273 | $this->_transaction->rollBack(); | 273 | $this->_transaction->rollBack(); |