Index: kernel/db/db_tag_processor.php =================================================================== --- kernel/db/db_tag_processor.php (revision 15257) +++ kernel/db/db_tag_processor.php (working copy) @@ -383,7 +383,7 @@ if ( !array_key_exists('skip_quering', $params) || !$params['skip_quering'] ) { if ( $requery ) { - $this->Application->HandleEvent($an_event, $prefix_special . ':OnListBuild', $params); + $this->Application->HandleEvent(new kEvent($prefix_special . ':OnListBuild', $params)); } if ( array_key_exists('offset', $params) ) { @@ -2695,7 +2695,7 @@ $item_prefix = isset($params['item_prefix']) ? $params['item_prefix'] : $this->Prefix; if ( isset($params['template']) ) { - $template = isset($params['template']); + $template = $params['template']; } else { $admin_template_prefix = $this->Application->getUnitOption($item_prefix, 'AdminTemplatePrefix');