From 688627f7f609c38ca49d68fbfb79a73241e99b58 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Mon, 16 Jan 2006 03:16:25 +0000 Subject: [PATCH] Fix disappearing autoblocker numbers WHY IN GOD'S NAME IS Block::mID NOT TREATED LIKE Block::mId? --- includes/SpecialIpblocklist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialIpblocklist.php b/includes/SpecialIpblocklist.php index 1b8802470f..423117dd0b 100644 --- a/includes/SpecialIpblocklist.php +++ b/includes/SpecialIpblocklist.php @@ -221,14 +221,14 @@ class IPUnblockForm { # Prepare links to the block target's user and contribs. pages (as applicable, don't do it for autoblocks) if( $block->mAuto ) { - $target = '#' . $block->mID; # Hide the IP addresses of auto-blocks; privacy + $target = '#' . $block->mId; # Hide the IP addresses of auto-blocks; privacy } else { $target = $sk->makeKnownLinkObj( Title::makeTitle( NS_USER, $block->mAddress ), $block->mAddress ); $target .= ' (' . $sk->makeKnownLinkObj( Title::makeTitle( NS_SPECIAL, 'Contributions' ), $msg['contribslink'], 'target=' . $block->mAddress ) . ')'; } # Prep the address for the unblock link, masking autoblocks as before - $addr = $block->mAuto ? '#' . $block->mID : $block->mAddress; + $addr = $block->mAuto ? '#' . $block->mId : $block->mAddress; $formattedTime = $wgLang->timeanddate( $block->mTimestamp, true ); -- 2.20.1