Index: branches/5.2.x/core/units/configuration/configuration_event_handler.php =================================================================== diff -u -N -r14955 -r14989 --- branches/5.2.x/core/units/configuration/configuration_event_handler.php (.../configuration_event_handler.php) (revision 14955) +++ branches/5.2.x/core/units/configuration/configuration_event_handler.php (.../configuration_event_handler.php) (revision 14989) @@ -1,6 +1,6 @@ setEventParam('PermSection', $this->Application->GetVar('section')); return parent::CheckPermission($event); @@ -48,22 +55,24 @@ * @access protected * @see kDBEventHandler::OnListBuild() */ - protected function SetCustomQuery(&$event) + protected function SetCustomQuery(kEvent &$event) { + parent::SetCustomQuery($event); + $object =& $event->getObject(); /* @var $object kDBList */ $module = $this->Application->GetVar('module'); $section = $this->Application->GetVar('section'); - $object->addFilter('module_filter', '%1$s.ModuleOwner = '.$this->Conn->qstr($module)); - $object->addFilter('section_filter', '%1$s.Section = '.$this->Conn->qstr($section)); + $object->addFilter('module_filter', '%1$s.ModuleOwner = ' . $this->Conn->qstr($module)); + $object->addFilter('section_filter', '%1$s.Section = ' . $this->Conn->qstr($section)); - if (!$this->Application->ConfigValue('AllowAdminConsoleInterfaceChange')) { + if ( !$this->Application->ConfigValue('AllowAdminConsoleInterfaceChange') ) { $object->addFilter('interface_change_filter', '%1$s.VariableName <> "AdminConsoleInterface"'); } - if (defined('IS_INSTALL') && IS_INSTALL) { + if ( defined('IS_INSTALL') && IS_INSTALL ) { $object->addFilter('install_filter', '%1$s.Install = 1'); }