Index: trunk/extensions/CentralNotice/CentralNotice.db.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | $conds[] = "not_language =" . $dbr->addQuotes( $language ); |
34 | 34 | if ( $preferred ) |
35 | 35 | $conds[] = "not_preferred = 1"; |
36 | | - if ( !date ) |
| 36 | + if ( !$date ) |
37 | 37 | $date = wfTimestamp( TS_MW ); |
38 | 38 | |
39 | 39 | $conds[] = ( $date ) ? "not_start <= ". $dbr->addQuotes( $date ) : "not_start <= " . $dbr->addQuotes( $dbr->timestamp( $date ) ); |