Skip to content

Commit

Permalink
Fix broken regexp: filters
Browse files Browse the repository at this point in the history
We were missing an else, so the real else case was running when it
should not have.

Fixes #10
  • Loading branch information
nitriques committed Oct 19, 2018
1 parent d02aa16 commit 65900c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fields/field.textbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ public function buildDSRetrievalSQL($data, &$joins, &$where, $andOperation = fal
$this->buildRegexSQL($data[0], array('value', 'handle'), $joins, $where);
}

if (self::isFilterSQL($data[0])) {
else if (self::isFilterSQL($data[0])) {
$this->buildFilterSQL($data[0], array('value', 'handle'), $joins, $where);
}

Expand Down

0 comments on commit 65900c3

Please sign in to comment.