Index: trunk/phase3/includes/SpecialUndelete.php |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | function listRevisions( $startTime, $limit ) { |
102 | 102 | $whereClause = array( 'ar_namespace' => $this->title->getNamespace(), |
103 | 103 | 'ar_title' => $this->title->getDBkey() ); |
104 | | - if ( $startTime ) |
| 104 | + if ( $startTime && is_numeric($startTime) ) |
105 | 105 | $whereClause[] = "ar_timestamp < $startTime"; |
106 | 106 | |
107 | 107 | $dbr = wfGetDB( DB_SLAVE ); |