* If you're using a global, remember the global thingy...
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 10 Jan 2006 16:19:32 +0000 (16:19 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Tue, 10 Jan 2006 16:19:32 +0000 (16:19 +0000)
includes/ProtectionForm.php

index 3f7a0fd..5cddb69 100644 (file)
@@ -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
+?>