From 9f12b0d75187d8cbe99e67d81ba985f8488da78b Mon Sep 17 00:00:00 2001 From: Daniel Cannon Date: Fri, 1 Jun 2007 09:11:52 +0000 Subject: [PATCH] Aparently, it need not only be defined but *initialized* to make the warnings go away. Apologies -- I'll check for warnings before committing in the future. --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 99d681f6d9..f243392c5a 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -793,7 +793,7 @@ class OutputPage { } //If it's a range block, get the range in CIDR and hand it back. - $ipRange; + $ipRange = ''; if ($wgUser->mBlock->mRangeStart != $wgUser->mBlock->mRangeEnd) { $ipRange = $wgUser->mBlock->mAddress; } -- 2.20.1