Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
+ Glpi provider: manage recipient argument for old version (with grou…
Browse files Browse the repository at this point in the history
…passign: new argument)
  • Loading branch information
garnier-quentin committed Mar 31, 2016
1 parent 6f60013 commit 357827b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,12 @@ protected function doSubmit($db_storage, $contact, $host_problems, $service_prob
if ($result_str == '') {
$result_str = null;
}

$ticket_arguments[$this->_internal_arg_name[$value['Arg']]] = $result_str;
// Old version of GLPI use 'recipient' depiste groupassign
if ($value['Arg'] == self::ARG_GROUP_ASSIGN) {
$ticket_arguments['recipient'] = $result_str;
}
}
}

Expand Down

0 comments on commit 357827b

Please sign in to comment.