mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-09 02:03:18 +02:00
related to #1693 solve deprecated trim and str_replace
This commit is contained in:
@@ -350,7 +350,7 @@ switch ($page['section'])
|
||||
{
|
||||
$out = array();
|
||||
$order_by = trim($conf['order_by_inside_category']);
|
||||
$order_by = str_replace('ORDER BY ', null, $order_by);
|
||||
$order_by = str_replace('ORDER BY ', false, $order_by);
|
||||
$order_by = explode(', ', $order_by);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user