Update Octopush.php (#968)
Replace `urlencode` by `rawurlencode` and `XXXX` by `XXXXX` otherwise you get error 121 (see https://www.octopush-dm.com/en/errors)pull/950/head
parent
f29da63fb8
commit
97d61a972c
|
@ -63,7 +63,7 @@ class Octopush extends Core
|
|||
|
||||
$recipients = join(',', $this->recipients);
|
||||
|
||||
$message = ($smsType == "FR") ? urlencode($message . " STOP au XXXX") : urlencode($message);
|
||||
$message = ($smsType == "FR") ? rawurlencode($message . " STOP au XXXXX") : rawurlencode($message);
|
||||
|
||||
$curl = curl_init();
|
||||
curl_setopt($curl, CURLOPT_URL, "http://www.octopush-dm.com/api/sms/?" . http_build_query(
|
||||
|
|
Loading…
Reference in New Issue