Explorar el Código

Updated PHP code

Updated split to preg_split php function.
Josh Smith hace 7 años
padre
commit
0c2cad24f8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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){