Fix checking for return. #658
This commit is contained in:
parent
6fff162c0e
commit
b712b35a97
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class RisingTideGateway
|
||||||
// at this point, assume that mobile is numeric and valid mobile number
|
// at this point, assume that mobile is numeric and valid mobile number
|
||||||
$clean_num = $this->cleanPhoneNumber($mobile_num);
|
$clean_num = $this->cleanPhoneNumber($mobile_num);
|
||||||
|
|
||||||
if ($clean_num == false)
|
if ($clean_num === false)
|
||||||
error_log('Invalid mobile number provided. Cannot send SMS message to ' . $mobile_num);
|
error_log('Invalid mobile number provided. Cannot send SMS message to ' . $mobile_num);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue