r71729 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71728‎ | r71729 | r71730 >
Date:19:28, 26 August 2010
Author:kaldari
Status:ok
Tags:
Comment:
fixing bug introduced in r71639
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialCentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php
@@ -1324,7 +1324,7 @@
13251325 $oldLanguages = $this->getNoticeLanguages( $notice );
13261326
13271327 // Get the notice id
1328 - $row = $this->getNoticeId( $notice );
 1328+ $row = $dbw->selectRow( 'cn_notices', 'not_id', array( 'not_name' => $notice ) );
13291329
13301330 // Add newly assigned languages
13311331 $addLanguages = array_diff( $newLanguages, $oldLanguages );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r71639checking for bad notice names per r71613kaldari18:09, 25 August 2010

Status & tagging log