diff --git a/store/ARC2_StoreLoadQueryHandler.php b/store/ARC2_StoreLoadQueryHandler.php index 54e2d550..b646b9e5 100644 --- a/store/ARC2_StoreLoadQueryHandler.php +++ b/store/ARC2_StoreLoadQueryHandler.php @@ -225,7 +225,7 @@ public function getStoredTermID($val, $type_id, $tbl) } } else { $binaryValue = $this->store->a['db_object']->escape($val); - if (false !== empty($binaryValue)) { + if (false == empty($binaryValue)) { $sql = 'SELECT id AS `id` FROM '.$tbl_prefix.$sub_tbl." WHERE val = BINARY '".$binaryValue."'"; $row = $this->store->a['db_object']->fetchRow($sql); if (is_array($row) && isset($row['id'])) {