* LightSmsTransport.php - bug fix
This commit is contained in:
parent
80ef5ba565
commit
08235e5a3c
@ -127,7 +127,7 @@ final class LightSmsTransport extends AbstractTransport
|
|||||||
throw new TransportException('Unable to send the SMS: '.self::ERROR_CODES[$content['']['error']], $response);
|
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);
|
throw new TransportException('Unable to send the SMS: '.self::ERROR_CODES[$content['error']], $response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user