missing param

This commit is contained in:
Ralf Becker 2005-11-08 10:13:47 +00:00
parent 550b6319f4
commit 4707638070

View File

@ -293,7 +293,7 @@
$sort = 'ASC'; $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"; $ordermethod = " ORDER BY $order $sort";
} }