mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-07-11 08:28:37 +00:00
Little regexp fix
This commit is contained in:
parent
781fc74c1a
commit
debf173673
@ -217,7 +217,7 @@ class SmsController extends Controller {
|
||||
foreach ($phoneList as $number => $ts) {
|
||||
$fmtPN = preg_replace("#[ ]#","/", $number);
|
||||
if (isset($contactsSrc[$fmtPN])) {
|
||||
$fmtPN2 = preg_replace("#\/#","", $fmtPN);
|
||||
$fmtPN2 = preg_replace("#[/]#","", $fmtPN);
|
||||
$contacts[$fmtPN] = $contactsSrc[$fmtPN];
|
||||
$contacts[$fmtPN2] = $contactsSrc[$fmtPN];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user