From 08235e5a3cb59f06d4bc81e35ce9892dc300e1cc Mon Sep 17 00:00:00 2001 From: Vasilij Dusko | CREATION Date: Tue, 30 Mar 2021 08:09:56 +0300 Subject: [PATCH] * LightSmsTransport.php - bug fix --- .../Component/Notifier/Bridge/LightSms/LightSmsTransport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php b/src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php index 7591d134ee..9f3777bbf3 100644 --- a/src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php +++ b/src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php @@ -127,7 +127,7 @@ final class LightSmsTransport extends AbstractTransport throw new TransportException('Unable to send the SMS: '.self::ERROR_CODES[$content['']['error']], $response); } - if (isset($content['error']) || isset($content[''])) { + if (isset($content['error'])) { throw new TransportException('Unable to send the SMS: '.self::ERROR_CODES[$content['error']], $response); }