diff options
author | marijus <mario@localhost.localdomain> | 2014-02-07 13:50:18 +0100 |
---|---|---|
committer | marijus <mario@localhost.localdomain> | 2014-02-07 13:50:18 +0100 |
commit | 6dd05bb53fb7892a386740f6ee246649f6f70e1e (patch) | |
tree | cb959c7969402bcc3a70acfb5088ec34f43402f5 /include/menu.php | |
parent | 6f2c168d1a434b2223f09a922780617fdc07b278 (diff) | |
parent | c80325b4279b6f19540416064382755ca5e6eccd (diff) | |
download | volse-hubzilla-6dd05bb53fb7892a386740f6ee246649f6f70e1e.tar.gz volse-hubzilla-6dd05bb53fb7892a386740f6ee246649f6f70e1e.tar.bz2 volse-hubzilla-6dd05bb53fb7892a386740f6ee246649f6f70e1e.zip |
Merge branch 'master' of https://github.com/friendica/red into 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; |