JsTemplate.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 17 Nov 2011 09:37:54 +0000 (17:37 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 17 Nov 2011 09:37:54 +0000 (17:37 +0800)
JsTemplate.php

index 44a1d1f..268d01e 100644 (file)
@@ -132,6 +132,7 @@ class Pman_Core_JsTemplate extends Pman {
                     $in = str_repeat("    ", $indent);
                     $ret[] = $in . "}";
                     if ($fstart == $indent) {
+                        $fstart = 0;
                         $ret = &$out;
                     }
                     continue;