From 3531957bb07f652d2a37ce7fe4d828be4525e628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Fri, 18 Feb 2022 12:13:36 +0100 Subject: [PATCH] Fix creating reference from 'reference free' item; fixes #300 --- inc/order_item.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/order_item.class.php b/inc/order_item.class.php index 0751537e07..e351c5445b 100644 --- a/inc/order_item.class.php +++ b/inc/order_item.class.php @@ -554,7 +554,7 @@ public function showAddForm($plugin_order_orders_id) { 'myname' => 'itemtype', 'value' => 'PluginOrderOther', 'entity' => $_SESSION["glpiactive_entity"], - 'ajax_page' => Plugin::getWebDir('order') . '//ajax/referencespecifications.php', + 'ajax_page' => Plugin::getWebDir('order') . '/ajax/referencespecifications.php', // 'class' => __CLASS__, ]; $reference = new PluginOrderReference();