From 04eb005d4fa51320003f817079347d4372ea6352 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 10 Jan 2006 16:19:32 +0000 Subject: [PATCH] * If you're using a global, remember the global thingy... --- includes/ProtectionForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +?> -- 2.20.1