Skip to content

Commit 702d7b1

Browse files
authored
Fix : PDO::exec returns a false equivalent (#157)
1 parent 2ee9681 commit 702d7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/ARC2_StoreSelectQueryHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function createTempTable($q_sql)
180180
) {
181181
return $this->addError($this->store->a['db_object']->getErrorMessage());
182182
}
183-
if (false == $this->store->a['db_object']->exec('INSERT INTO '.$tbl.' '."\n".$q_sql)) {
183+
if (false === $this->store->a['db_object']->exec('INSERT INTO '.$tbl.' '."\n".$q_sql)) {
184184
$this->addError($this->store->a['db_object']->getErrorMessage());
185185
}
186186

0 commit comments

Comments
 (0)