related to #1693 solve deprecated trim and str_replace

This commit is contained in:
Matthieu Leproux
2022-07-19 11:57:12 +02:00
parent 97407ef5b1
commit 735b670599
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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);
}