dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3a56b
)
bug fix
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 29 May 2004 17:14:47 +0000
(17:14 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 29 May 2004 17:14:47 +0000
(17:14 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
4ebf6e7
..
808a52d
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-539,7
+539,7
@@
htmlspecialchars( $wgLang->recodeForEdit( $this->textbox1 ) ) .
$yourtext = $obj->cur_text;
$ns = $this->mTitle->getNamespace();
$title = wfStrencode( $this->mTitle->getDBkey() );
- $res = wfQuery("SELECT old_text FROM old WHERE old_namespace = $ns AND ".
+ $res = wfQuery("SELECT old_text
,old_flags
FROM old WHERE old_namespace = $ns AND ".
"old_title = '{$title}' AND old_timestamp = '{$oldDate}'", DB_WRITE);
$obj = wfFetchObject($res);
$oldText = Article::getRevisionText( $obj );