Skip to content

Commit 74228eb

Browse files
authored
Potential fix for #122 and #114
Conditional logic changed
1 parent 0d36612 commit 74228eb

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)