When invalid operator terms, use print_r on the term instead of just the operator

This commit is contained in:
Isaac Connor 2019-08-08 09:26:00 -04:00
parent d4b59211cd
commit 5b0509e000
1 changed files with 1 additions and 1 deletions

View File

@ -1341,7 +1341,7 @@ function parseFilter(&$filter, $saveToSession=false, $querySep='&') {
$filter['sql'] .= " IS NOT $value"; $filter['sql'] .= " IS NOT $value";
break; break;
default: default:
ZM\Warning("Invalid operator in filter: " . $term['op'] ); ZM\Warning('Invalid operator in filter: ' . print_r($term['op'], true));
} // end switch op } // end switch op
$filter['query'] .= $querySep.urlencode("filter[Query][terms][$i][op]").'='.urlencode($term['op']); $filter['query'] .= $querySep.urlencode("filter[Query][terms][$i][op]").'='.urlencode($term['op']);