From 265c8baa4b70b3851f2dc2f1cc6c779db0da9003 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 8d6f088d1..f41e6e504 100644 --- a/inc/targetbase.class.php +++ b/inc/targetbase.class.php @@ -1715,7 +1715,8 @@ public function post_addItem() { protected static function getDeleteImage($id) { global $CFG_GLPI; - $link = '  '; + $formUrl = static::getFormURL(); + $link = '  '; $link .= '' . __('Delete') . ''; $link .= ''; return $link;