From 1326c4e71e62f4762b1f2e3c2b0ba87c450dea2e Mon Sep 17 00:00:00 2001 From: mike Date: Sat, 20 Oct 2018 20:55:54 +0000 Subject: fix wrong value being used for menu_id (cherry picked from commit fdb7c115a7504e431d9dd35af4901ef50367c67b) --- Zotlabs/Module/Menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') 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'), '*'), -- cgit v1.2.3