diff --git a/phpgwapi/inc/common_functions.inc.php b/phpgwapi/inc/common_functions.inc.php index 0c8b080a8f..1c000e0a95 100755 --- a/phpgwapi/inc/common_functions.inc.php +++ b/phpgwapi/inc/common_functions.inc.php @@ -1189,7 +1189,7 @@ { $pregs = array( 'order' => '/^[a-zA-Z0-9_]*$/', - 'sort' => '/^(ASC|DESC|asc|desc){0,1}$/', + 'sort' => '/^(ASC|DESC|asc|desc|0|1|2|3|4|5|6|7){0,1}$/', ); foreach(array('order','sort') as $name) {