From: Daniel Cannon Date: Fri, 1 Jun 2007 09:11:52 +0000 (+0000) Subject: Aparently, it need not only be defined but *initialized* to make the warnings go... X-Git-Tag: 1.31.0-rc.0~52734 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=9f12b0d75187d8cbe99e67d81ba985f8488da78b;p=lhc%2Fweb%2Fwiklou.git 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. --- 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; }