Skip to content

Commit

Permalink
Potential fix for #122 and #114
Browse files Browse the repository at this point in the history
Conditional logic changed
  • Loading branch information
nkos-eu authored Jan 9, 2019
1 parent 0d36612 commit 74228eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/ARC2_StoreLoadQueryHandler.php
Original file line number Diff line number Diff line change
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 74228eb

Please sign in to comment.