Add static to $rightname var to fix PHP error when loading plugin

This commit is contained in:
François Déchelle 2022-09-27 10:34:48 +02:00 committed by Cédric Anne
parent 9f415e0d32
commit 99ccf29a7e

View File

@ -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;