r3745 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r3744‎ | r3745 | r3746 >
Date:17:14, 29 May 2004
Author:timstarling
Status:old
Tags:
Comment:
bug fix
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -539,7 +539,7 @@
540540 $yourtext = $obj->cur_text;
541541 $ns = $this->mTitle->getNamespace();
542542 $title = wfStrencode( $this->mTitle->getDBkey() );
543 - $res = wfQuery("SELECT old_text FROM old WHERE old_namespace = $ns AND ".
 543+ $res = wfQuery("SELECT old_text,old_flags FROM old WHERE old_namespace = $ns AND ".
544544 "old_title = '{$title}' AND old_timestamp = '{$oldDate}'", DB_WRITE);
545545 $obj = wfFetchObject($res);
546546 $oldText = Article::getRevisionText( $obj );

Status & tagging log