From: Aaron Schulz Date: Wed, 16 Apr 2008 17:03:58 +0000 (+0000) Subject: Actually pass in a db ;) X-Git-Tag: 1.31.0-rc.0~48268 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=cf15e526f34466c763c00a6726aa90b981f4311d;p=lhc%2Fweb%2Fwiklou.git Actually pass in a db ;) --- diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 048a9a4244..20063c0ca7 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -366,7 +366,7 @@ class IPBlockForm { $log_type = ($this->BlockHideName) ? 'suppress' : 'block'; $log = new LogPage( $log_type ); $ok = $log->addEntry( 'block', Title::makeTitle( NS_USER, $this->BlockAddress ), - $reasonstr, $logParams ); + $reasonstr, $logParams, $dbw ); # Make sure logging got through if( !$ok ) { $dbw->rollback();