From: Tim Starling Date: Mon, 9 Jan 2006 03:10:57 +0000 (+0000) Subject: Fixed notice X-Git-Tag: 1.6.0~668 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=1113b01e876f6f5aa66b231c05564638a3eb8100;p=lhc%2Fweb%2Fwiklou.git Fixed notice --- diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php index 36a047a2f5..3a3dabaa81 100644 --- a/includes/SpecialUndelete.php +++ b/includes/SpecialUndelete.php @@ -181,13 +181,11 @@ class PageArchive { $newid = 0; $pageId = $page->page_id; $previousRevId = $page->page_latest; - $previousTimestamp = $page->rev_timestamp; } else { # Have to create a new article... $newid = $article->insertOn( $dbw ); $pageId = $newid; $previousRevId = 0; - $previousTimestamp = 0; } if( $restoreAll ) {