Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -326,7 +326,8 @@ |
327 | 327 | if ( $this->mTitle->isDeleted() ) { |
328 | 328 | $this->lastDelete = $this->getLastDelete(); |
329 | 329 | if ( $this->lastDelete ) { |
330 | | - $deletetime = $this->lastDelete->log_timestamp; |
| 330 | + $dbr = wfGetDB( DB_SLAVE ); |
| 331 | + $deletetime = $dbr->timestamp( $this->lastDelete->log_timestamp ); |
331 | 332 | if ( ($deletetime - $this->starttime) > 0 ) { |
332 | 333 | $this->deletedSinceEdit = true; |
333 | 334 | } |