Skip to content

Commit

Permalink
fix(ticket satisfaction): missing satisfaction field
Browse files Browse the repository at this point in the history
  • Loading branch information
Rom1-B authored and btry committed Oct 19, 2022
1 parent aa859b5 commit 6f252bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/issue.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public function displaySimplified(CommonDBTM $item, $options = []): void {
$date2 = strtotime($satisfaction->fields['date_begin']);
if (($duration == 0)
|| (strtotime("now") - $date2) <= $duration*DAY_TIMESTAMP) {
$satisfaction->showForm($item->getID());
$satisfaction->showSatisactionForm($item);
} else {
echo "<p class='center b'>".__('Satisfaction survey expired')."</p>";
}
Expand Down

0 comments on commit 6f252bf

Please sign in to comment.