Skip to content

Commit 99ccf29

Browse files
fdechellecedric-anne
authored andcommitted
Add static to $rightname var to fix PHP error when loading plugin
1 parent 9f415e0 commit 99ccf29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/RuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
class RuleTest extends Rule {
5252

5353
// From Rule
54-
public $rightname = 'rule_import';
54+
public static $rightname = 'rule_import';
5555
public $can_sort = true;
5656

5757

0 commit comments

Comments
 (0)