From 895895f93fcb3af56fd167ce2d3bf12a50c19335 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 13 Aug 2005 18:40:13 +0000 Subject: [PATCH] Parser now works! Again! --- template.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/template.php b/template.php index f9cd185..e9ad30a 100644 --- a/template.php +++ b/template.php @@ -473,6 +473,7 @@ class DB_Template // the information about the current active tag $tag_full = array(); + $parsed = array(); // start at 0 $offset = 0; @@ -569,6 +570,9 @@ class DB_Template // reset the parser $offset = $tag_full['posi'] + strlen($tag_start) + strlen($tag_start_end); $tag_full = array(); + $stack = array(); + $parsed = array(); + unset($fullspread, $conditional, $temp_end, $relpos, $length, $elsepos); break; } } -- 2.22.5