diff --git a/editor.php b/editor.php index 13aaa7854..8ce69adf9 100755 --- a/editor.php +++ b/editor.php @@ -73,7 +73,7 @@ if (empty($records)) { '.tr("Torna all'elenco").' '; - $plugins = $dbo->fetchArray('SELECT id, title FROM zz_plugins WHERE idmodule_to='.prepare($id_module)." AND position='tab' AND enabled = 1"); + $plugins = $dbo->fetchArray('SELECT id, title FROM zz_plugins WHERE idmodule_to='.prepare($id_module)." AND position='tab' AND enabled = 1 ORDER BY zz_plugins.order DESC"); foreach ($plugins as $plugin) { echo '