From ce103fabe72d7e823af1fd035d74c2730e694d8d Mon Sep 17 00:00:00 2001 From: yarik Date: Wed, 12 Oct 2016 15:32:32 +0300 Subject: [PATCH] Import browser beta v0.1 --- common/modules/language/behaviors/LanguageBehavior.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/language/behaviors/LanguageBehavior.php b/common/modules/language/behaviors/LanguageBehavior.php index 31715fd..5afd3bb 100755 --- a/common/modules/language/behaviors/LanguageBehavior.php +++ b/common/modules/language/behaviors/LanguageBehavior.php @@ -264,10 +264,10 @@ if(!empty( $this->model_langs )) { if($this->linkLangs() && $this->saveLangs()) { + $this->_transaction->commit(); if($owner instanceof Product) { var_dump($owner); die(); } - $this->_transaction->commit(); $this->_transaction_status = true; } else { $this->_transaction->rollBack(); -- libgit2 0.21.4