aboutsummaryrefslogtreecommitdiffstats
path: root/mod/menu.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-12 00:40:12 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-12 00:40:12 +0200
commitd8f03450e7564f8a790ce514fa98330aa8535229 (patch)
tree7f11bdb43264225006a38cbe52fd5be9033198ba /mod/menu.php
parent138e0fe4456068a2316c8462a85f4ae2727ee93c (diff)
downloadvolse-hubzilla-d8f03450e7564f8a790ce514fa98330aa8535229.tar.gz
volse-hubzilla-d8f03450e7564f8a790ce514fa98330aa8535229.tar.bz2
volse-hubzilla-d8f03450e7564f8a790ce514fa98330aa8535229.zip
make menu creation for sys channel work
Diffstat (limited to 'mod/menu.php')
-rw-r--r--mod/menu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/menu.php b/mod/menu.php
index f46dc9471..d1943960f 100644
--- a/mod/menu.php
+++ b/mod/menu.php
@@ -137,7 +137,7 @@ function menu_content(&$a) {
$o = replace_macros(get_markup_template('menuedit.tpl'), array(
'$header' => t('Edit Menu'),
- '$menu_id' => intval(argv(1)),
+ '$menu_edit_link' => 'mitem/' . intval(argv(1)) . (($a->is_sys) ? '?f=&sys=1' : ''),
'$hintedit' => t('Add or remove entries to this menu'),
'$editcontents' => t('Edit menu contents'),
'$menu_name' => array('menu_name', t('Menu name'), $m['menu_name'], t('Must be unique, only seen by you'), '*'),