Skip to content

Commit

Permalink
Fix : PDO::exec returns a false equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-quentin committed Aug 5, 2024
1 parent 3e08bc2 commit d823aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/ARC2_StoreSelectQueryHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function createTempTable($q_sql)
) {
return $this->addError($this->store->a['db_object']->getErrorMessage());
}
if (false == $this->store->a['db_object']->exec('INSERT INTO '.$tbl.' '."\n".$q_sql)) {
if (false === $this->store->a['db_object']->exec('INSERT INTO '.$tbl.' '."\n".$q_sql)) {
$this->addError($this->store->a['db_object']->getErrorMessage());
}

Expand Down

0 comments on commit d823aab

Please sign in to comment.