Fix ordinamento voci di menù

This commit is contained in:
Luca 2018-05-09 15:00:42 +02:00
parent dabae5bc66
commit 628c480c4a
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class Modules
$query .= ' WHERE `t0`.`parent` IS NULL ORDER BY ';
for ($i = 0; $i < $depth; ++$i) {
$query .= '`t'.$i.'`.`order` ASC';
$query .= '`t'.$i.'`.`order` ASC, `t'.$i.'`.`id` ASC ';
if ($i != $depth - 1) {
$query .= ', ';