From cb15d38e299dbbeb8c2eb0adda964c9d58d2f82b Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Fri, 20 Aug 2004 11:01:36 +0000 Subject: [PATCH] database timestamp fixup --- includes/EditPage.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 46edc24f92..f6a5793cc2 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1,4 +1,5 @@ recodeForEdit( $this->textbox1 ) ) . $title = $this->mTitle->getDBkey(); $obj = $dbw->getArray( 'old', array( 'old_text','old_flags'), - array( 'old_namespace' => $ns, 'old_title' => $title, 'old_timestamp' => $oldDate ), + array( 'old_namespace' => $ns, 'old_title' => $title, + 'old_timestamp' => $dbw->timestamp($oldDate)), $fname ); $oldText = Article::getRevisionText( $obj ); -- 2.20.1