Sort the plugin configuration on the admin page by name

This commit is contained in:
Michael Vogel 2015-11-14 09:27:24 +01:00
parent 53c10aaef1
commit 47d6e43642

View file

@ -135,7 +135,7 @@ function admin_content(&$a) {
/* get plugins admin page */ /* get plugins admin page */
$r = q("SELECT name FROM `addon` WHERE `plugin_admin`=1"); $r = q("SELECT `name` FROM `addon` WHERE `plugin_admin`=1 ORDER BY `name`");
$aside['plugins_admin']=Array(); $aside['plugins_admin']=Array();
foreach ($r as $h){ foreach ($r as $h){
$plugin =$h['name']; $plugin =$h['name'];