From: Ævar Arnfjörð Bjarmason Date: Tue, 10 Jan 2006 16:19:32 +0000 (+0000) Subject: * If you're using a global, remember the global thingy... X-Git-Tag: 1.6.0~634 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=04eb005d4fa51320003f817079347d4372ea6352;p=lhc%2Fweb%2Fwiklou.git * If you're using a global, remember the global thingy... --- diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 3f7a0fdfd0..5cddb69ec0 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 +?>