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