aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authormike <michaelgeorgejohnston@gmail.com>2018-10-20 16:55:54 -0400
committermike <michaelgeorgejohnston@gmail.com>2018-10-20 16:55:54 -0400
commitfdb7c115a7504e431d9dd35af4901ef50367c67b (patch)
tree6377e19a3100a4437a9b74f26bb6a05fc93c6822 /Zotlabs/Module
parentd96a731e93e3b3c63118c8cd2cb701d70673fba1 (diff)
downloadvolse-hubzilla-fdb7c115a7504e431d9dd35af4901ef50367c67b.tar.gz
volse-hubzilla-fdb7c115a7504e431d9dd35af4901ef50367c67b.tar.bz2
volse-hubzilla-fdb7c115a7504e431d9dd35af4901ef50367c67b.zip
fix wrong value being used for menu_id
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Menu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Menu.php b/Zotlabs/Module/Menu.php
index 1687a4414..ee6b45f87 100644
--- a/Zotlabs/Module/Menu.php
+++ b/Zotlabs/Module/Menu.php
@@ -213,7 +213,7 @@ class Menu extends \Zotlabs\Web\Controller {
'$header' => t('Edit Menu'),
'$sys' => \App::$is_sys,
'$menu_id' => intval(argv(2)),
- '$menu_edit_link' => 'mitem/' . $which . '/' . intval(argv(1)) . ((\App::$is_sys) ? '?f=&sys=1' : ''),
+ '$menu_edit_link' => 'mitem/' . $which . '/' . intval(argv(2)) . ((\App::$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'), '*'),