From e419a6aa6d358099eb8376732bacf8d97add3173 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 9 Mar 2006 22:33:06 +0000 Subject: [PATCH] allow ',' in order --- phpgwapi/inc/common_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/common_functions.inc.php b/phpgwapi/inc/common_functions.inc.php index ee45b66fa5..ff26ae3bbe 100755 --- a/phpgwapi/inc/common_functions.inc.php +++ b/phpgwapi/inc/common_functions.inc.php @@ -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)