mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 10:04:53 +02:00
Removed syntax error
This commit is contained in:
parent
e675d14d03
commit
4292065c4e
@ -57,7 +57,7 @@ class PluginExampleComputer extends CommonDBTM {
|
||||
|
||||
static function item_can($item) {
|
||||
|
||||
if (($item-getType() == 'Computer')
|
||||
if (($item->getType() == 'Computer')
|
||||
&& ($item->right == READ)
|
||||
&& ($item->fields['groups_id'] > 0)
|
||||
&& !in_array($item->fields['groups_id'], $_SESSION["glpigroups"])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user