Skip to content

Commit

Permalink
added beginTransaction()
Browse files Browse the repository at this point in the history
  • Loading branch information
Trischi80 committed Feb 18, 2021
1 parent 48b4207 commit 7492866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/update/updatedb_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3623,6 +3623,7 @@ function ($v) {
$oTransaction->commit();
}
if($iOldDBVersion < 438){
$oTransaction = $oDB->beginTransaction();

$oDB->createCommand()->update('{{question_attributes}}', array('value' => '1'), "attribute = 'hidden' and value = 'Y'");
$oDB->createCommand()->update('{{question_attributes}}', array('value' => '0'), "attribute = 'hidden' and value = 'N'");
Expand Down

0 comments on commit 7492866

Please sign in to comment.