db mysql
parent
4748d9aef5
commit
7bb8bf1da2
|
@ -436,7 +436,7 @@ class DatabaseMysql implements Database
|
|||
{
|
||||
$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']);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue