Skip to content

Commit 6a41882

Browse files
authored
Fix duplicated itemtype (#455)
1 parent 46c06a9 commit 6a41882

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

inc/item_softwarelicenseinjection.class.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ public function relationSide()
6060

6161
public function connectedTo()
6262
{
63-
/** @var array $CFG_GLPI */
64-
global $CFG_GLPI;
65-
66-
return $CFG_GLPI['software_types'];
63+
return ['SoftwareLicense', 'Software'];
6764
}
6865

6966

0 commit comments

Comments
 (0)