diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 3f7a0fdfd0c..5cddb69ec09 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -87,7 +87,7 @@ class ProtectionForm { } function save() { - global $wgRequest, $wgUser; + global $wgRequest, $wgUser, $wgOut; if( !$wgRequest->wasPosted() ) { return false; } @@ -241,4 +241,4 @@ class ProtectionForm { } -?> \ No newline at end of file +?>