From 7864496dbe7296fde2e39af63d8aca3731193333 Mon Sep 17 00:00:00 2001 From: Rex Feany <rfeany@rexfeany.com> Date: Mon, 1 Mar 2010 14:08:33 -0800 Subject: [PATCH] small fixes from nye --- php/YATT.class.php | 4 ++-- php/example.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/php/YATT.class.php b/php/YATT.class.php index c6c9ff9..32861f5 100644 --- a/php/YATT.class.php +++ b/php/YATT.class.php @@ -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; diff --git a/php/example.php b/php/example.php index e4e8098..6eb1261 100644 --- a/php/example.php +++ b/php/example.php @@ -1,4 +1,4 @@ -<? +<?php require_once('YATT.class.php'); -- 2.39.5