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:
f708d54
)
Parameters in wrong order, used wrong where conditions
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 3 Sep 2004 06:28:59 +0000
(06:28 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 3 Sep 2004 06:28:59 +0000
(06:28 +0000)
includes/SpecialExport.php
patch
|
blob
|
history
diff --git
a/includes/SpecialExport.php
b/includes/SpecialExport.php
index
24c8dff
..
c2ccbe8
100644
(file)
--- a/
includes/SpecialExport.php
+++ b/
includes/SpecialExport.php
@@
-94,8
+94,8
@@
function page2xml( $page, $curonly, $full = false ) {
if( !$curonly ) {
$res = $dbr->select( 'old', array( 'old_id as id','old_timestamp as timestamp',
'old_user as user', 'old_user_text as user_text', 'old_comment as comment',
- 'old_text as text', 'old_flags as flags' ), $title->
cur
Cond(),
- array( 'ORDER BY' => 'old_timestamp' ), $fname
+ 'old_text as text', 'old_flags as flags' ), $title->
old
Cond(),
+ $fname, array( 'ORDER BY' => 'old_timestamp' )
);
while( $s2 = $dbr->fetchObject( $res ) ) {