aboutsummaryrefslogtreecommitdiffstats
path: root/include/menu.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-04 17:12:13 -0800
committerfriendica <info@friendica.com>2014-02-04 17:12:13 -0800
commitaede006970fb9124161b4732b9f44002a35d17ef (patch)
tree7d39ad22e8b3ac3f87903666fc454cc9c5dfc025 /include/menu.php
parent3665bc38ef15137c7d36a12aa13a44c4d0304547 (diff)
downloadvolse-hubzilla-aede006970fb9124161b4732b9f44002a35d17ef.tar.gz
volse-hubzilla-aede006970fb9124161b4732b9f44002a35d17ef.tar.bz2
volse-hubzilla-aede006970fb9124161b4732b9f44002a35d17ef.zip
bookmarks - mop up and go home
Diffstat (limited to 'include/menu.php')
-rw-r--r--include/menu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/menu.php b/include/menu.php
index e5bd4a680..105e4216b 100644
--- a/include/menu.php
+++ b/include/menu.php
@@ -110,7 +110,7 @@ function menu_create($arr) {
function menu_list($channel_id, $name = '', $flags = 0) {
$sel_options = '';
- $sel_options .= (($name) ? " and name = '" . protect_sprintf(dbesc($name)) . "' " : '');
+ $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",