* LightSmsTransport.php - bug fix

This commit is contained in:
Vasilij Dusko | CREATION 2021-03-30 08:09:56 +03:00
parent 80ef5ba565
commit 08235e5a3c

View File

@ -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);
}