as talked with lars

This commit is contained in:
Ralf Becker 2004-04-04 18:06:37 +00:00
parent 94b0845564
commit 517913682c

View File

@ -1188,7 +1188,7 @@
foreach(array('_GET','_POST','_REQUEST','HTTP_GET_VARS','HTTP_POST_VARS','HTTP_REQUEST_VARS') as $where)
{
$pregs = array(
'order' => '/^[a-zA-Z0-9_, ]*$/',
'order' => '/^[a-zA-Z0-9_]*$/',
'sort' => '/^(ASC|DESC|asc|desc){0,1}$/',
);
foreach(array('order','sort') as $name)