fix wrong value being used for menu_id
(cherry picked from commit fdb7c115a7)
			
			
This commit is contained in:
		| @@ -213,7 +213,7 @@ class Menu extends \Zotlabs\Web\Controller { | |||||||
| 					'$header' => t('Edit Menu'), | 					'$header' => t('Edit Menu'), | ||||||
| 					'$sys' => \App::$is_sys, | 					'$sys' => \App::$is_sys, | ||||||
| 					'$menu_id' => intval(argv(2)), | 					'$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'), | 					'$hintedit' => t('Add or remove entries to this menu'), | ||||||
| 					'$editcontents' => t('Edit menu contents'), | 					'$editcontents' => t('Edit menu contents'), | ||||||
| 					'$menu_name' => array('menu_name', t('Menu name'), $m['menu_name'], t('Must be unique, only seen by you'), '*'), | 					'$menu_name' => array('menu_name', t('Menu name'), $m['menu_name'], t('Must be unique, only seen by you'), '*'), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user