Browse Source

Call the new function displayErrors() to display errors rather than refering to $this.

stevetruckstuff 19 years ago
parent
commit
f3da17d5f6
1 changed files with 3 additions and 1 deletions
  1. 3 1
      templates/default/footer.tpl

+ 3 - 1
templates/default/footer.tpl

@@ -13,10 +13,12 @@
  */
 
 /** add required includes */
+include_once(SM_PATH . 'templates/util_global.php');
 
 /* retrieve the template vars */
 extract($t);
-$this->display('error_message.tpl');
+
+displayErrors();
 ?>
 <!-- end of generated html -->
 </body>