1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-08 16:36:25 +00:00

Forget delimiters

This commit is contained in:
Ner'zhul 2014-10-01 09:27:37 +02:00
parent eb6cd672b8
commit cf14f056a0

View File

@ -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"];
}
}