From d3fd221e69cf512bcc99bfb32538bf399217f04d Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Thu, 17 Feb 2022 15:18:04 +0100 Subject: [PATCH 1/2] fix(targetticket,targetchange,targetproblem): use regular anchor to edit a target --- inc/form.class.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/inc/form.class.php b/inc/form.class.php index 0d8d926cb..9d1fc4fa9 100644 --- a/inc/form.class.php +++ b/inc/form.class.php @@ -470,15 +470,10 @@ public function showTargets($ID, $options = []) { $i++; echo ''; $targetItemUrl = $targetType::getFormURLWithID($targetId); - echo ''; + echo ''; echo $target->fields['name']; - echo ''; - - echo ''; - echo ' '; - echo ''; + echo ''; echo ''; echo ' Date: Fri, 18 Feb 2022 09:23:25 +0100 Subject: [PATCH 2/2] fix: link to license --- setup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.php b/setup.php index 521c8aa38..e5926e744 100644 --- a/setup.php +++ b/setup.php @@ -58,12 +58,13 @@ function plugin_version_formcreator() { echo 'This plugin requires GLPI >= ' . PLUGIN_FORMCREATOR_GLPI_MIN_VERSION; return false; } + $webDir = Plugin::getWebDir('formcreator'); $requirements = [ 'name' => 'Form Creator', 'version' => PLUGIN_FORMCREATOR_VERSION, 'author' => 'Teclib\'', 'homepage' => 'https://github.com/pluginsGLPI/formcreator', - 'license' => 'GPLv2', + 'license' => 'GPLv2', 'requirements' => [ 'glpi' => [ 'min' => PLUGIN_FORMCREATOR_GLPI_MIN_VERSION,