From 62e0de19e920cc20129bac64769d907833d15ee6 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Tue, 14 Jan 2020 11:10:27 +0100 Subject: [PATCH] fix(targetchange): bad url when delete an actor close #1607 Signed-off-by: Thierry Bugier --- inc/targetbase.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/targetbase.class.php b/inc/targetbase.class.php index 5eb4d20a9..53fa357d9 100644 --- a/inc/targetbase.class.php +++ b/inc/targetbase.class.php @@ -1712,7 +1712,8 @@ public function post_addItem() { protected static function getDeleteImage($id) { global $CFG_GLPI; - $link = '  '; + $formUrl = static::getFormURL(); + $link = '  '; $link .= '' . __('Delete') . ''; $link .= ''; return $link;