r42787 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42786‎ | r42787 | r42788 >
Date:22:29, 29 October 2008
Author:tparscal
Status:old
Tags:
Comment:
Fixed small bug in array statement.
Modified paths:
  • /branches/CentralNotice-SpecialPage-Integration/SpecialNoticeText.php (modified) (history)

Diff [purge]

Index: branches/CentralNotice-SpecialPage-Integration/SpecialNoticeText.php
@@ -194,7 +194,7 @@
195195 function chooseTemplate ( $notice ) {
196196 $dbr = wfGetDB( DB_SLAVE );
197197 $centralnotice_table = 'central_notice_template_assignments';
198 - $res = $dbr->select( $array ( $centralnotice_table,"central_notice_template_assignments"),
 198+ $res = $dbr->select( array ( $centralnotice_table,"central_notice_template_assignments"),
199199 "name,weight",
200200 array ( 'notice_name' => $notice, 'campaign_id = id'),
201201 '',

Status & tagging log