diff --git a/layouts/sample_layout/layout.html b/layouts/sample_layout/layout.html index 61525beb9..79b401df9 100644 --- a/layouts/sample_layout/layout.html +++ b/layouts/sample_layout/layout.html @@ -70,7 +70,7 @@ -
+
diff --git a/modules/plugin/plugin.controller.php b/modules/plugin/plugin.controller.php index 064ef6aff..a8603901b 100644 --- a/modules/plugin/plugin.controller.php +++ b/modules/plugin/plugin.controller.php @@ -27,10 +27,8 @@ $attribute = array(); if($vars) { - foreach($vars as $key=>$val) { - debugPrint($val); - debugPrint(strpos('|@|', $val)); - if(strpos('|@|', $val)>0) $val = str_replace('|@|',',',$val); + foreach($vars as $key => $val) { + if(strpos($val,'|@|')>0) $val = str_replace('|@|',',',$val); $attribute[] = sprintf('%s="%s"', $key, str_replace('"','\"',$val)); } }