no main menu list items listed in admin backend
Posted: Sun Feb 20, 2011 6:16 pm
After upgrading from 1.5.16 to 1.5.22 there are no more main menu items listed in admin backend. The problem ist in file
administrator/components/com_menus/models/list.php
Line 56 is now
$menutype = $mainframe->getUserStateFromRequest( 'com_menus.menutype', 'menutype', 'mainmenu', 'menutype' );
The last parameter 'menutype' is wrong. It has to be 'string'
$menutype = $mainframe->getUserStateFromRequest( 'com_menus.menutype', 'menutype', 'mainmenu', 'string' );
With this line, the menu items are listed.
administrator/components/com_menus/models/list.php
Line 56 is now
$menutype = $mainframe->getUserStateFromRequest( 'com_menus.menutype', 'menutype', 'mainmenu', 'menutype' );
The last parameter 'menutype' is wrong. It has to be 'string'
$menutype = $mainframe->getUserStateFromRequest( 'com_menus.menutype', 'menutype', 'mainmenu', 'string' );
With this line, the menu items are listed.