Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ziaratban committed Dec 28, 2024
1 parent 126b950 commit 9ec09ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ public function run($query, $throw = true, $log = false, $commit = false, $queue
if($output = $query())
{
if($commit){
return $this->safeCommit() ? $output : false;
$this->commit();
return $output;
}
return $output;
}
Expand Down

0 comments on commit 9ec09ea

Please sign in to comment.