Skip to content

Commit

Permalink
Merge pull request #123 from cbinding/master
Browse files Browse the repository at this point in the history
Potential fix for #122 and #114
  • Loading branch information
k00ni committed Jan 25, 2019
2 parents 0d36612 + 74228eb commit 3f73527
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 3f73527

Please sign in to comment.