Preview.php
authorAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2014 05:55:31 +0000 (13:55 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2014 05:55:31 +0000 (13:55 +0800)
Preview.php

index f33fa12..87a47f2 100644 (file)
@@ -14,7 +14,7 @@ class Pman_Builder_Preview extends Pman_Cms_Preview
     {
         
         if (preg_match('/^BuilderJS/', $name)) {
-            $this->outputJS(preg_replace('/BuilderJS/','', $name));
+            $this->outputJS(preg_replace('#BuilderJS/#','', $name));
             
         }
         var_dump($name, $default);