mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
Add static to $rightname var to fix PHP error when loading plugin
This commit is contained in:
parent
9f415e0d32
commit
99ccf29a7e
@ -51,7 +51,7 @@ if (!defined('GLPI_ROOT')) {
|
|||||||
class RuleTest extends Rule {
|
class RuleTest extends Rule {
|
||||||
|
|
||||||
// From Rule
|
// From Rule
|
||||||
public $rightname = 'rule_import';
|
public static $rightname = 'rule_import';
|
||||||
public $can_sort = true;
|
public $can_sort = true;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user