From cbe0ea037ad14a0615ef686c441df81aed36f6d7 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 11 Apr 2005 00:21:47 +0000 Subject: [PATCH] Removed some unnecessary function calls from DB_Template::_parse_conditionals() --- template.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/template.php b/template.php index 49f80fb..e6b4fef 100644 --- a/template.php +++ b/template.php @@ -419,11 +419,7 @@ class DB_Template // we've found ourselves a conditional! if (substr($template, $i, strlen($tag_start)) == $tag_start) { - // where do we end the conditional - $end = strpos($template, $tag_start_end, $i); - $end += strlen($tag_start_end); - - // complete the open + // push the position into the tag stack array_push($stack, $i); //echo "OPEN `$i`: " . print_r($stack, true); -- 2.22.5