From f0ab6898f650e505671d6163e17b4bac9e41bff5 Mon Sep 17 00:00:00 2001 From: mykolq Date: Fri, 17 Nov 2023 19:09:30 +0300 Subject: [PATCH] add 'Peripheral' to $CFG_GLPI["itemdevicepowersupply_types"] for example, i wanna add storage Fujitsu DX100 and it have power supply, but now i cannot add it --- inc/define.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/define.php b/inc/define.php index 717d4faec7f..efd64284421 100644 --- a/inc/define.php +++ b/inc/define.php @@ -345,7 +345,7 @@ $CFG_GLPI["itemdevicememory_types"] = ['Computer', 'NetworkEquipment', 'Peripheral', 'Printer', 'Phone']; -$CFG_GLPI["itemdevicepowersupply_types"] = ['Computer', 'NetworkEquipment', 'Enclosure', 'Phone']; +$CFG_GLPI["itemdevicepowersupply_types"] = ['Computer', 'NetworkEquipment', 'Peripheral', 'Enclosure', 'Phone']; $CFG_GLPI["itemdevicenetworkcard_types"] = ['Computer', 'NetworkEquipment', 'Peripheral', 'Phone', 'Printer'];