forked from extern/egroupware
missing param
This commit is contained in:
parent
e36705e012
commit
263caae5e8
@ -242,7 +242,7 @@
|
||||
|
||||
if (!$sort) $sort = 'ASC';
|
||||
|
||||
if (!empty($order) && preg_match('/^[a-zA-Z_, ]+$/',$order) && (empty($sort) || preg_match('/^(ASC|DESC|asc|desc)$/')))
|
||||
if (!empty($order) && preg_match('/^[a-zA-Z_, ]+$/',$order) && (empty($sort) || preg_match('/^(ASC|DESC|asc|desc)$/',$sort)))
|
||||
{
|
||||
$ordermethod = 'ORDER BY '.$order.' '.$sort;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user