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