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

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