Bug #1622 ยป 1622.patch
| administrator/components/com_comprofiler/plugin.class.php | ||
|---|---|---|
|
if ( cbStartOfStringMatch( $searchmode, 'phrase' ) ) {
|
||
|
$eachValues = array( $value );
|
||
|
} else {
|
||
|
global $_CB_framework;
|
||
|
if ( $_CB_framework->outputCharset() == 'UTF-8' ) {
|
||
|
$eachValues = preg_split( '/\p{Z}+/u', $value );
|
||
|
} else {
|
||
|
$eachValues = @preg_split( '/\p{Z}+/u', $value );
|
||
|
|
||
|
if ( preg_last_error() == PREG_INTERNAL_ERROR ) {
|
||
|
$eachValues = preg_split( '/\W+/', $value );
|
||
|
}
|
||
|
}
|
||