From 44f179d49f4573003c5bcf6a82c98d5221759f2c Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 29 Nov 2010 04:33:07 +0000 Subject: [PATCH] =?UTF-8?q?#19287514=20=EC=8B=A0=EA=B7=9C=20template=20?= =?UTF-8?q?=EB=AC=B8=EB=B2=95=EC=97=90=EC=84=9C=20loop=EB=AC=B8=EC=9D=98?= =?UTF-8?q?=20=EC=A4=91=EC=B2=A9=ED=83=9C=EA=B7=B8=EB=A5=BC=20=EC=A0=9C?= =?UTF-8?q?=EB=8C=80=EB=A1=9C=20=ED=91=9C=ED=98=84=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EB=AA=BB=ED=95=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7932 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/template/TemplateHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/template/TemplateHandler.class.php b/classes/template/TemplateHandler.class.php index 6a1ef51fa..edc6aae97 100644 --- a/classes/template/TemplateHandler.class.php +++ b/classes/template/TemplateHandler.class.php @@ -318,7 +318,7 @@ $tmp_buff = substr($next, 0, $close_pos+strlen('')); $tag .= $tmp_buff; $next = substr($next, strlen($tmp_buff)); - if(false === strpos($tmp_buff, '<'.$tag_name)) break; + if(substr_count($tag, '<'.$tag_name) == substr_count($tag,'