Commit bd0fc071 authored by Robert Nix's avatar Robert Nix
Browse files

Fix onPreferencesFormPreSave

$result can be a bool or a Status; CurseProfile sets it to a Status in
some cases, which will break this hook execution.
parent 174ae283
Pipeline #170794800 failed with stage
in 1 minute
......@@ -716,7 +716,7 @@ class Hooks {
array $formData,
PreferencesFormOOUI $form,
User $user,
bool &$result,
&$result,
array $oldUserOptions
): bool {
if (self::shouldHandleWatchlist()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment