Index: trunk/core/kernel/utility/event.php =================================================================== diff -u -N -r7855 -r8605 --- trunk/core/kernel/utility/event.php (.../event.php) (revision 7855) +++ trunk/core/kernel/utility/event.php (.../event.php) (revision 8605) @@ -155,8 +155,11 @@ function getEventParam($name) { $args = func_get_args(); - array_unshift($args, $this->specificParams); - return call_user_func_array('getArrayValue', $args); // getArrayValue($this->specificParams, $name); + if (count($args) > 1) { + array_unshift($args, $this->specificParams); + return call_user_func_array('getArrayValue', $args); // getArrayValue($this->specificParams, $name); + } + return isset($this->specificParams[$name]) ? $this->specificParams[$name] : false; } function getPrefixSpecial($from_submit=false) @@ -294,13 +297,13 @@ // 2. check if this section has perm_prefix mapping to other prefix $sections_helper =& $this->Application->recallObject('SectionsHelper'); /* @var $sections_helper kSectionsHelper */ - + $section_data =& $sections_helper->getSectionData($section); if ($section_data && isset($section_data['perm_prefix']) && $section_data['perm_prefix'] != $top_prefix) { $this->setEventParam('top_prefix', $section_data['perm_prefix']); $section = $this->Application->getUnitOption($section_data['perm_prefix'].'.main', 'PermSection'); } - + if (!$section) { if ($this->Application->isDebugMode()) { $this->Application->Debugger->appendTrace();