10000 * LightSmsTransport.php - bug fix · symfony/symfony@08235e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 08235e5

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines 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