r44478 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44477‎ | r44478 | r44479 >
Date:23:42, 11 December 2008
Author:brion
Status:ok
Tags:
Comment:
fix missing $ on var
Modified paths:
  • /trunk/extensions/CentralNotice/CentralNotice.db.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/CentralNotice.db.php
@@ -32,7 +32,7 @@
3333 $conds[] = "not_language =" . $dbr->addQuotes( $language );
3434 if ( $preferred )
3535 $conds[] = "not_preferred = 1";
36 - if ( !date )
 36+ if ( !$date )
3737 $date = wfTimestamp( TS_MW );
3838
3939 $conds[] = ( $date ) ? "not_start <= ". $dbr->addQuotes( $date ) : "not_start <= " . $dbr->addQuotes( $dbr->timestamp( $date ) );

Status & tagging log