diff --git a/modules/dashboard/edit.php b/modules/dashboard/edit.php index ee01917a6..ed0c3be45 100644 --- a/modules/dashboard/edit.php +++ b/modules/dashboard/edit.php @@ -241,7 +241,7 @@ $checks = ''; $count = 0; $total = 0; -$rs = $dbo->fetchArray('(SELECT \'0\' AS id, \'Nessuna zona\' AS descrizione) UNION (SELECT id, descrizione FROM an_zone) ORDER BY descrizione ASC'); +$rs = $dbo->fetchArray('(SELECT 0 AS ordine, \'0\' AS id, \'Nessuna zona\' AS descrizione) UNION (SELECT 1 AS ordine, id, descrizione FROM an_zone) ORDER BY ordine, descrizione ASC'); $total = count($rs); for ($i = 0; $i < count($rs); ++$i) {