Skip to content

Commit 6f252bf

Browse files
Rom1-Bbtry
authored andcommitted
fix(ticket satisfaction): missing satisfaction field
1 parent aa859b5 commit 6f252bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/issue.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public function displaySimplified(CommonDBTM $item, $options = []): void {
387387
$date2 = strtotime($satisfaction->fields['date_begin']);
388388
if (($duration == 0)
389389
|| (strtotime("now") - $date2) <= $duration*DAY_TIMESTAMP) {
390-
$satisfaction->showForm($item->getID());
390+
$satisfaction->showSatisactionForm($item);
391391
} else {
392392
echo "<p class='center b'>".__('Satisfaction survey expired')."</p>";
393393
}

0 commit comments

Comments
 (0)