From 6f252bf91cd0511b78f9b9a5f3fdf9e8335351a6 Mon Sep 17 00:00:00 2001 From: Rom1-B Date: Thu, 13 Oct 2022 10:49:44 +0200 Subject: [PATCH] fix(ticket satisfaction): missing satisfaction field --- inc/issue.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/issue.class.php b/inc/issue.class.php index 40bfa37d1..28d6dfeec 100644 --- a/inc/issue.class.php +++ b/inc/issue.class.php @@ -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 "

".__('Satisfaction survey expired')."

"; }