浏览代码

Updated PHP code

Updated split to preg_split php function.
Josh Smith 7 年之前
父节点
当前提交
0c2cad24f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      text.php.tmpl

+ 1 - 1
text.php.tmpl

@@ -14,7 +14,7 @@ if(empty(\$_REQUEST["report"])) {
 }
 
 //Get labels for meta and page titles
-\$labels = split("[-.]", \$report);
+\$labels = preg_split("/[\s-.]/", \$report);
 \$count = count(\$labels);
 
 if (\$count == 3){