Skip to content

Commit

Permalink
Update right name
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Jan 8, 2024
1 parent ea618ec commit cfff73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/FormFactory/ManageWikiFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function submitForm(
$out = $context->getOutput();

if ( !$ceMW ) {
throw new UnexpectedValueException( "User '{$context->getUser()->getName()}' without 'managewiki' right tried to change wiki {$module}!" );
throw new UnexpectedValueException( "User '{$context->getUser()->getName()}' without 'managewiki-{$module}' right tried to change wiki {$module}!" );
}

$form->getButtons();
Expand Down

0 comments on commit cfff73c

Please sign in to comment.