small fixes from nye
[yatt.git] / php / YATT.class.php
index c6c9ff9b7a9e83f358d6175c5633e2c9349bb4e2..32861f5dc566be110477bec4aae846e69570b08d 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 /*
  * Simple text template class. Does not handle caching.
  *
@@ -27,7 +27,7 @@ class YATT {
     var $obj;
 
     # Holds variables
-    var $vars;
+    var $vars = array();
 
     # Holds information on errors
     var $errors;