Sanitise filter[Id]
parent
8f774a0030
commit
90ec23b410
|
@ -1041,6 +1041,8 @@ function parseFilter(&$filter, $saveToSession=false, $querySep='&') {
|
||||||
|
|
||||||
$Filter = ZM\Filter::parse($filter, $querySep);
|
$Filter = ZM\Filter::parse($filter, $querySep);
|
||||||
|
|
||||||
|
if (isset($filter['Id']))
|
||||||
|
$filter['Id'] = validCardinal($filter['Id']);
|
||||||
$filter['sql'] = $Filter->sql();
|
$filter['sql'] = $Filter->sql();
|
||||||
$filter['querystring'] = $Filter->querystring('filter', $querySep);
|
$filter['querystring'] = $Filter->querystring('filter', $querySep);
|
||||||
$filter['hidden_fields'] = $Filter->hidden_fields();
|
$filter['hidden_fields'] = $Filter->hidden_fields();
|
||||||
|
|
Loading…
Reference in New Issue