- Patch #218313 by jvandyk: made sure that MySQL keywords are uppercase.
parent
97a739e14c
commit
912d10fb09
|
@ -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']);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue