Merge pull request #2077 from annando/1511-plugin-order

Sort the plugin configuration on the admin page by name
This commit is contained in:
Tobias Diekershoff 2015-11-14 12:19:45 +01:00
commit 49bf4ab47a

View File

@ -135,7 +135,7 @@ function admin_content(&$a) {
/* 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();
foreach ($r as $h){
$plugin =$h['name'];