Skip to content

Commit

Permalink
FormDataFilter: correct 'in' operator handling
Browse files Browse the repository at this point in the history
fixes #13543
  • Loading branch information
Thomas-Gelf committed Dec 13, 2016
1 parent 07ab1f8 commit 1dc0aad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions application/views/helpers/FormDataFilter.php
Expand Up @@ -291,9 +291,10 @@ protected function selectSign(Filter $filter = null)
if ($filter === null) {
$sign = null;
} else {
if ($filter->getExpression() === true) {
$expression = json_decode($filter->getExpression());
if ($expression === true) {
$sign = 'true';
} elseif (is_array($filter->getExpression())) {
} elseif (is_array($expression)) {
$sign = 'in';
} else {
$sign = $filter->getSign();
Expand Down

0 comments on commit 1dc0aad

Please sign in to comment.