Commit 912d10fb authored by Dries's avatar Dries

- Patch #218313 by jvandyk: made sure that MySQL keywords are uppercase.

parent 97a739e1
......@@ -949,5 +949,5 @@ function _forum_get_topic_order($sortby) {
function _forum_get_topic_order_sql($sortby) {
$order = _forum_get_topic_order($sortby);
return $order['field'] .' '. $order['sort'];
return $order['field'] .' '. strtoupper($order['sort']);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment