Skip to content

Commit

Permalink
Protect reopen field when not set
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbarroca committed Aug 7, 2017
1 parent abf51b3 commit f959386
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ function markaspot_open311_node_map_request($node, $status, $parameters) {

$request['validated'] = $node->field_validatedcmm[$node->language][0]['value'];

$request['reopen'] = $node->field_reaberto[$node->language][0]['value'];
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 f959386

Please sign in to comment.