* If you're using a global, remember the global thingy...
This commit is contained in:
parent
f09968a4f1
commit
04eb005d4f
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
|||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue