Removed syntax error

This commit is contained in:
shahmilan344 2018-08-24 15:51:29 +05:30 committed by Cédric Anne
parent e675d14d03
commit 4292065c4e

View File

@ -57,7 +57,7 @@ class PluginExampleComputer extends CommonDBTM {
static function item_can($item) { static function item_can($item) {
if (($item-getType() == 'Computer') if (($item->getType() == 'Computer')
&& ($item->right == READ) && ($item->right == READ)
&& ($item->fields['groups_id'] > 0) && ($item->fields['groups_id'] > 0)
&& !in_array($item->fields['groups_id'], $_SESSION["glpigroups"])) { && !in_array($item->fields['groups_id'], $_SESSION["glpigroups"])) {