mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Forget delimiters
This commit is contained in:
@@ -86,7 +86,7 @@ class Application extends App {
|
||||
$result = $cm->search('',array('FN'));
|
||||
foreach ($result as $r) {
|
||||
if (isset ($r["TEL"])) {
|
||||
$phoneId = preg_replace(" ", "", $r["TEL"]);
|
||||
$phoneId = preg_replace("#[ ]#", "", $r["TEL"]);
|
||||
self::$contacts[$phoneId] = $r["FN"];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user