diff options
author | marijus <mario@localhost.localdomain> | 2014-02-07 21:35:18 +0100 |
---|---|---|
committer | marijus <mario@localhost.localdomain> | 2014-02-07 21:35:18 +0100 |
commit | 4c0f9a91b95025f08e3c4e2739cb5f4186726023 (patch) | |
tree | 3b19b8c3aa086e4931aac9790d298b2306f71ff7 /include/menu.php | |
parent | c26ae94592dda51a40903ea65f117fd7dd9d0ef3 (diff) | |
parent | f62ec4132ed571288737423de386054a4cc8b0d5 (diff) | |
download | volse-hubzilla-4c0f9a91b95025f08e3c4e2739cb5f4186726023.tar.gz volse-hubzilla-4c0f9a91b95025f08e3c4e2739cb5f4186726023.tar.bz2 volse-hubzilla-4c0f9a91b95025f08e3c4e2739cb5f4186726023.zip |
Merge branch 'upstream'
Diffstat (limited to 'include/menu.php')
-rw-r--r-- | include/menu.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/menu.php b/include/menu.php index 813d7bcdb..b879af845 100644 --- a/include/menu.php +++ b/include/menu.php @@ -116,7 +116,7 @@ function menu_list($channel_id, $name = '', $flags = 0) { $sel_options .= (($name) ? " and menu_name = '" . protect_sprintf(dbesc($name)) . "' " : ''); $sel_options .= (($flags) ? " and menu_flags = " . intval($flags) . " " : ''); - $r = q("select * from menu where menu_channel_id = %d $sel_options order by menu_name", + $r = q("select * from menu where menu_channel_id = %d $sel_options order by menu_desc", intval($channel_id) ); return $r; |