mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
- replace split() by preg_split()
This commit is contained in:
parent
643d1d7920
commit
558efc330f
|
@ -414,7 +414,7 @@ class LetoDMS_Core_DMS {
|
||||||
// Split the search string into constituent keywords.
|
// Split the search string into constituent keywords.
|
||||||
$tkeys=array();
|
$tkeys=array();
|
||||||
if (strlen($query)>0) {
|
if (strlen($query)>0) {
|
||||||
$tkeys = split("[\t\r\n ,]+", $query);
|
$tkeys = preg_split("/[\t\r\n ,]+/", $query);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if none is checkd search all
|
// if none is checkd search all
|
||||||
|
|
Loading…
Reference in New Issue
Block a user