mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
In the 'context', pass menus by ID and no longer by index.
SVN:trunk[2144]
This commit is contained in:
@@ -98,7 +98,7 @@ class ApplicationContext
|
||||
if (!isset(self::$aDefaultValues))
|
||||
{
|
||||
self::$aDefaultValues = array();
|
||||
$aContext = utils::ReadParam('c', array());
|
||||
$aContext = utils::ReadParam('c', array(), false, 'context_param');
|
||||
foreach($this->aNames as $sName)
|
||||
{
|
||||
$sValue = isset($aContext[$sName]) ? $aContext[$sName] : '';
|
||||
|
||||
Reference in New Issue
Block a user