In the 'context', pass menus by ID and no longer by index.

SVN:trunk[2144]
This commit is contained in:
Denis Flaven
2012-07-31 14:07:35 +00:00
parent c612732037
commit a707e9fde1
3 changed files with 17 additions and 14 deletions

View File

@@ -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] : '';