mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-03 21:50:43 -04:00
remove each() as it's deprecated
This commit is contained in:
@@ -1183,7 +1183,8 @@ class Database_Builder_Core {
|
||||
|
||||
foreach ($this->order_by as $column => $order_by)
|
||||
{
|
||||
list($column, $direction) = each($order_by);
|
||||
$column = key($order_by);
|
||||
$direction = current($order_by);
|
||||
|
||||
$column = $this->db->quote_column($column);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user