mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 07:56:23 +00:00
Fix invalid code missed on review
This commit is contained in:
parent
c9f1b4099f
commit
012ba8385b
@ -136,16 +136,14 @@ class SmsMapper extends Mapper {
|
||||
if(isset($phoneList[$fpn])) {
|
||||
return $phoneList[$fpn];
|
||||
}
|
||||
else {
|
||||
|
||||
$fpn = PhoneNumberFormatter::format($country, $fpn);
|
||||
if (isset($phoneList[$fpn])) {
|
||||
return $phoneList[$fpn];
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
return array();
|
||||
}
|
||||
}
|
||||
|
||||
public function getAllMessagesForPhoneNumber ($userId, $phoneNumber, $country, $minDate = 0) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user