Skip to content

Commit

Permalink
fix(glpiselectfield): appliance plugin name is plural
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jan 31, 2020
1 parent 4680319 commit 3a6968f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/fields/glpiselectfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function getDesignSpecializationField() {
Profile::class => Profile::getTypeName(2)],
];
$plugin = new Plugin();
if ($plugin->isActivated('appliance')) {
if ($plugin->isActivated('appliances')) {
$optgroup[__("Assets")][PluginAppliancesAppliance::class] = PluginAppliancesAppliance::getTypeName(2);
}
array_unshift($optgroup, '---');
Expand Down

0 comments on commit 3a6968f

Please sign in to comment.