Skip to content

Commit

Permalink
Merge pull request venomous0x#960 from mgp25/patch-25
Browse files Browse the repository at this point in the history
Temporary Fix to 'no_routes' error
  • Loading branch information
shirioko committed Sep 17, 2014
2 parents 4417afa + 2ddd0b8 commit 16a6349
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/whatsprot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,16 +305,15 @@ public function codeRequest($method = 'sms', $countryCode = null, $langCode = nu
// Build the url.
$host = 'https://' . static::WHATSAPP_REQUEST_HOST;
$query = array(
'cc' => $phone['cc'],
'method' => $method,
'in' => $phone['phone'],
'to' => $this->phoneNumber,
'cc' => $phone['cc'],
'id' => $this->identity,
'lg' => $langCode,
'lc' => $countryCode,
'method' => $method,
'mcc' => $phone['mcc'],
'mnc' => '001',
'token' => urlencode($token),
'id' => $this->identity,
'sim_mcc' => '000', //$phone['mcc']
'sim_mnc' => '000', // 001
);

if ($this->debug) {
Expand Down

0 comments on commit 16a6349

Please sign in to comment.