Skip to content

Navigation Menu

Sign in
Appearance settings

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 08235e5

Browse filesBrowse files
author
Vasilij Dusko | CREATION
committed
* LightSmsTransport.php - bug fix
1 parent 80ef5ba commit 08235e5
Copy full SHA for 08235e5

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
@@ -127,7 +127,7 @@ protected function doSend(MessageInterface $message): SentMessage
127127
throw new TransportException('Unable to send the SMS: '.self::ERROR_CODES[$content['']['error']], $response);
128128
}
129129

130-
if (isset($content['error']) || isset($content[''])) {
130+
if (isset($content['error'])) {
131131
throw new TransportException('Unable to send the SMS: '.self::ERROR_CODES[$content['error']], $response);
132132
}
133133

0 commit comments

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