$this->elements = HTML_Template_Flexy_Factory::setErrors($this->elements,$this->errors);
}
$template_engine->elements = $this->elements;
- $this->timer->setMarker(__CLASS__ . '::outputBody - render template');
- DB_DataObject::debugLevel(1);
+ if ($this->timer) {
+ $this->timer->setMarker(__CLASS__ . '::outputBody - render template');
+ }
+ //DB_DataObject::debugLevel(1);
$template_engine->outputObject($this,$this->elements);
if ($this->timer) {