Index: branches/5.2.x/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r15257 -r15291 --- branches/5.2.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 15257) +++ branches/5.2.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 15291) @@ -1,6 +1,6 @@ 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');