- replace split() by preg_split()

This commit is contained in:
steinm 2011-04-12 07:19:55 +00:00
parent 643d1d7920
commit 558efc330f

View File

@ -414,7 +414,7 @@ class LetoDMS_Core_DMS {
// Split the search string into constituent keywords.
$tkeys=array();
if (strlen($query)>0) {
$tkeys = split("[\t\r\n ,]+", $query);
$tkeys = preg_split("/[\t\r\n ,]+/", $query);
}
// if none is checkd search all