Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e20ef1e

Browse filesBrowse files
author
Vasilij Dusko | CREATION
committed
* LightSmsTransport.php - change + to 00
1 parent b0e64b9 commit e20ef1e
Copy full SHA for e20ef1e

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,6 @@ private function escapeSubject($subject): string
166166

167167
private function escapePhoneNumber($phoneNumber): string
168168
{
169-
return preg_replace("/[^\d]/", '', $phoneNumber);
169+
return str_replace('+', '00', $phoneNumber);
170170
}
171171
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.