Skip to content

Commit

Permalink
reverted 74228eb from @cbinding
Browse files Browse the repository at this point in the history
The change was intended to potentially solve #122 and #114

But it caused some tests to fail, which were working before.
  • Loading branch information
k00ni committed Feb 20, 2020
1 parent b234aad commit 6781e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/ARC2_StoreLoadQueryHandler.php
Expand Up @@ -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'])) {
Expand Down

0 comments on commit 6781e5c

Please sign in to comment.