r55414 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55413‎ | r55414 | r55415 >
Date:15:54, 21 August 2009
Author:greg
Status:deferred
Tags:
Comment:
Use the correct vars for not_start and not_end in the update.
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialCentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php
@@ -1195,8 +1195,8 @@
11961196 $dbw->begin();
11971197 $res = $dbw->update( 'cn_notices',
11981198 array(
1199 - 'not_start' => $start,
1200 - 'not_end' => $end
 1199+ 'not_start' => $startDate,
 1200+ 'not_end' => $endDate
12011201 ),
12021202 array( 'not_name' => $noticeName )
12031203 );

Status & tagging log