From 4b507edd858b9190c7da80f80b2d003f00503da1 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 11 Jul 2010 18:13:23 +0000 Subject: [PATCH] removed PHP4-ism --- includes/Block.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Block.php b/includes/Block.php index f4e14b23e5..de01555549 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -161,7 +161,7 @@ class Block { wfDebug( "Block::load: '$address', '$user', $killExpired\n" ); $options = array(); - $db =& $this->getDBOptions( $options ); + $db = $this->getDBOptions( $options ); if ( 0 == $user && $address === '' ) { # Invalid user specification, not blocked @@ -299,7 +299,7 @@ class Block { $range = substr( $iaddr, 0, 4 ); $options = array(); - $db =& $this->getDBOptions( $options ); + $db = $this->getDBOptions( $options ); $conds = array( 'ipb_range_start' . $db->buildLike( $range, $db->anyString() ), "ipb_range_start <= '$iaddr'", -- 2.20.1