HTML/FlexyFramework/Page.php
authorMichael <michael@roojs.com>
Fri, 6 Feb 2015 05:52:08 +0000 (13:52 +0800)
committerMichael <michael@roojs.com>
Fri, 6 Feb 2015 05:52:08 +0000 (13:52 +0800)
HTML/FlexyFramework/Page.php

index c83cc88..2b1d186 100644 (file)
@@ -284,10 +284,9 @@ class HTML_FlexyFramework_Page  {
 
         $template_engine = new HTML_Template_Flexy();
         $template_engine->compile($this->template);
-//        if ($this->elements) { /* BC crap! */
- //           $this->elements = HTML_Template_Flexy_Factory::setErrors($this->elements,$this->errors);
-  //      }
-                
+        if ($this->elements) { /* BC crap! */
+            $this->elements = HTML_Template_Flexy_Factory::setErrors($this->elements,$this->errors);
+        }
         $template_engine->elements = $this->elements;
         $template_engine->outputObject($this,$this->elements);