FIX Sanitizing menu parameter
This commit is contained in:
parent
4c27ae6530
commit
1c7873b4f4
@ -184,8 +184,8 @@ else // If external user
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Load the menu manager (only if not already done)
|
// Load the menu manager (only if not already done)
|
||||||
$file_menu=$conf->standard_menu;
|
$file_menu = $conf->standard_menu;
|
||||||
if (GETPOST('menu')) $file_menu=GETPOST('menu'); // example: menu=eldy_menu.php
|
if (GETPOST('menu', 'aZ09')) $file_menu = GETPOST('menu', 'aZ09'); // example: menu=eldy_menu.php
|
||||||
if (! class_exists('MenuManager'))
|
if (! class_exists('MenuManager'))
|
||||||
{
|
{
|
||||||
$menufound=0;
|
$menufound=0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user