1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

First step for debugging non spaces with spaces numbers

This commit is contained in:
Loic Blot
2014-10-23 05:55:16 +00:00
parent c256ca5132
commit 1e21406f76
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -96,7 +96,9 @@ class SmsController extends Controller {
foreach ($phoneList as $number => $ts) {
$fmtPN = preg_replace("#[ ]#","/", $number);
if (isset($contactsSrc[$fmtPN])) {
$fmtPN2 = preg_replace("#\/#","", $fmtPN);
$contacts[$fmtPN] = $contactsSrc[$fmtPN];
$contacts[$fmtPN2] = $contactsSrc[$fmtPN];
}
}