bookmarks - mop up and go home
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user