Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbarroca committed Aug 7, 2017
2 parents 871babf + f1d1138 commit 532a90f
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function markaspot_open311_requests_create($data) {

$curl = curl_init();
$service_request_url = 'https://www.mopa.co.mz/reports/'.$service_request[0]['service_request_id'];
$service_request_description = $service_request[0]['description'];
$service_request_description = $data['description'];
$service_request_title = 'Novo problema: '.$service_request[0]['service_request_id'];

$json = <<<json
Expand Down Expand Up @@ -323,6 +323,10 @@ json;

curl_close($curl);

if ($err) {
watchdog('OneSignal', "cURL Error #:" . $err);
}

return $service_request;
}

Expand Down Expand Up @@ -687,7 +691,6 @@ function markaspot_open311_node_map_request($node, $status, $parameters) {

if(isset($node->field_reaberto[$node->language][0]['value'])) $request['reopen'] = $node->field_reaberto[$node->language][0]['value'];


return $request;
}

Expand Down

0 comments on commit 532a90f

Please sign in to comment.