From abde25fc395fcb416c7e743ff71ef8f110422782 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Mon, 15 Dec 2008 12:10:41 +0000 Subject: [PATCH] Do initialiseRange into Block::insert. Fix related fatal in Abuse Filter. --- includes/Block.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Block.php b/includes/Block.php index b55aa4fcc3..2c2227e2e7 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -371,6 +371,7 @@ class Block { $dbw = wfGetDB( DB_MASTER ); $this->validateBlockParams(); + $this->initialiseRange(); # Don't collide with expired blocks Block::purgeExpired(); -- 2.20.1