db mysql
parent
b8c079cd1b
commit
1152a8df85
|
@ -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']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue