mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
allow ',' in order
This commit is contained in:
parent
81a8e89f69
commit
e419a6aa6d
@ -1213,7 +1213,7 @@
|
||||
foreach(array('_GET','_POST','_REQUEST','HTTP_GET_VARS','HTTP_POST_VARS') as $n => $where)
|
||||
{
|
||||
$pregs = array(
|
||||
'order' => '/^[a-zA-Z0-9_]*$/',
|
||||
'order' => '/^[a-zA-Z0-9_,]*$/',
|
||||
'sort' => '/^(ASC|DESC|asc|desc|0|1|2|3|4|5|6|7){0,1}$/',
|
||||
);
|
||||
foreach(array('order','sort') as $name)
|
||||
|
Loading…
Reference in New Issue
Block a user