X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialBotPasswords.php;h=f76c318e26390576f2f0afdf551a068369a0fe80;hb=ee56f00ddf0609082f8ae9a4dc3e6e1b6f54ddfd;hp=dfdbb067c065aa722aebbf595cc344a3f491c394;hpb=0e25b050286bed143ed5a23e87d5543fe71ce5dd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialBotPasswords.php b/includes/specials/SpecialBotPasswords.php index dfdbb067c0..f76c318e26 100644 --- a/includes/specials/SpecialBotPasswords.php +++ b/includes/specials/SpecialBotPasswords.php @@ -146,7 +146,7 @@ class SpecialBotPasswords extends FormSpecialPage { ]; $fields['restrictions'] = [ - 'class' => 'HTMLRestrictionsField', + 'class' => HTMLRestrictionsField::class, 'required' => true, 'default' => $this->botPassword->getRestrictions(), ];