Skip to content

Commit

Permalink
fix(abstractitiltarget): set priority from urgency and impact (#3178)
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Feb 15, 2023
1 parent 172d5e8 commit 1269edd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/abstractitiltarget.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ protected function setTargetUrgency($data, $formanswer) {
}
if (!is_null($urgency) && $urgency != 0) {
$data['urgency'] = $urgency;
$data['priority'] = CommonITILObject::computePriority($data['urgency'], $data['impact']);;
}

return $data;
Expand Down

0 comments on commit 1269edd

Please sign in to comment.