Skip to content

Commit 6781e5c

Browse files
committed
reverted 74228eb from @cbinding
The change was intended to potentially solve #122 and #114 But it caused some tests to fail, which were working before.
1 parent b234aad commit 6781e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/ARC2_StoreLoadQueryHandler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public function getStoredTermID($val, $type_id, $tbl)
225225
}
226226
} else {
227227
$binaryValue = $this->store->a['db_object']->escape($val);
228-
if (false == empty($binaryValue)) {
228+
if (false !== empty($binaryValue)) {
229229
$sql = 'SELECT id AS `id` FROM '.$tbl_prefix.$sub_tbl." WHERE val = BINARY '".$binaryValue."'";
230230
$row = $this->store->a['db_object']->fetchRow($sql);
231231
if (is_array($row) && isset($row['id'])) {

0 commit comments

Comments
 (0)