master
vitalif 2013-04-09 22:18:11 +00:00
parent b8c079cd1b
commit 1152a8df85
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ class DatabaseMysql implements Database
{ {
$sql .= " GROUP BY ".$this->order_option($options['GROUP BY']); $sql .= " GROUP BY ".$this->order_option($options['GROUP BY']);
} }
if (!empty($options['ORDER BY']) && $options['GROUP BY'] !== '0') if (!empty($options['ORDER BY']) && $options['ORDER BY'] !== '0')
{ {
$sql .= " ORDER BY ".$this->order_option($options['ORDER BY']); $sql .= " ORDER BY ".$this->order_option($options['ORDER BY']);
} }