Skip to content

Commit

Permalink
2023-04-04 14:03 - v1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisOuellet committed Apr 4, 2023
1 parent 2418a01 commit ca2cf6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.7
1.0.8
2 changes: 1 addition & 1 deletion src/phpSMS.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function formatToE164($number, $countryCode) {
$e164Number = '+' . $countryCode . $number;

// Validate the E.164 formatted number
if ($this->validatePhoneNumber($e164Number)) {
if ($this->validate($e164Number)) {
return $e164Number;
} else {
return false;
Expand Down

0 comments on commit ca2cf6a

Please sign in to comment.