diff options
author | mike <michaelgeorgejohnston@gmail.com> | 2018-10-20 20:55:54 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-10-21 09:02:17 +0200 |
commit | 1326c4e71e62f4762b1f2e3c2b0ba87c450dea2e (patch) | |
tree | dc5ece3bc9111dfa120dd7af2d9b65676c7c46bb /Zotlabs | |
parent | 9cbbc80f7a86498da05235b54942a4ed964e6d73 (diff) | |
download | volse-hubzilla-1326c4e71e62f4762b1f2e3c2b0ba87c450dea2e.tar.gz volse-hubzilla-1326c4e71e62f4762b1f2e3c2b0ba87c450dea2e.tar.bz2 volse-hubzilla-1326c4e71e62f4762b1f2e3c2b0ba87c450dea2e.zip |
fix wrong value being used for menu_id
(cherry picked from commit fdb7c115a7504e431d9dd35af4901ef50367c67b)
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Menu.php | 2 |
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'), '*'), |