aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-10-21 09:00:48 +0200
committerMario <mario@mariovavti.com>2018-10-21 09:00:48 +0200
commitad5f3877f1406658666d9cd9db6b7e2863e3ec12 (patch)
treec12a1da2de3c2486ccba515b464997cfac8f1db4
parent8a02e967d38f5b06db30c64069c782b659d550aa (diff)
parentfdb7c115a7504e431d9dd35af4901ef50367c67b (diff)
downloadvolse-hubzilla-ad5f3877f1406658666d9cd9db6b7e2863e3ec12.tar.gz
volse-hubzilla-ad5f3877f1406658666d9cd9db6b7e2863e3ec12.tar.bz2
volse-hubzilla-ad5f3877f1406658666d9cd9db6b7e2863e3ec12.zip
Merge branch 'edit-menu-contents-fix' into 'dev'
fix wrong value being used for menu_id See merge request hubzilla/core!1345
-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'), '*'),