Update pages.class.php
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /var/www/html/bludit/bl-kernel/pages.class.php on line 424
This commit is contained in:
parent
49fb7f03b1
commit
4412f339cc
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ class Pages extends dbJSON
|
|||
|
||||
private function sortByPositionLowToHigh($a, $b)
|
||||
{
|
||||
return $a['position'] > $b['position'];
|
||||
return $a['position'] <=> $b['position'];
|
||||
}
|
||||
private function sortByPositionHighToLow($a, $b)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue