We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3668fb6 commit 265c8baCopy full SHA for 265c8ba
inc/targetbase.class.php
@@ -1715,7 +1715,8 @@ public function post_addItem() {
1715
protected static function getDeleteImage($id) {
1716
global $CFG_GLPI;
1717
1718
- $link = ' <a href="' . $CFG_GLPI['root_doc'] . '/plugins/formcreator/front/targetticket.form.php?delete_actor=' . $id . '">';
+ $formUrl = static::getFormURL();
1719
+ $link = ' <a href="' . $formUrl . '?delete_actor=' . $id . '">';
1720
$link .= '<img src="../../../pics/delete.png" alt="' . __('Delete') . '" title="' . __('Delete') . '" />';
1721
$link .= '</a>';
1722
return $link;
0 commit comments