From 4f8ccf628c8f2c0c73f8436bbfe9318b997b6560 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 3 Sep 2004 06:28:59 +0000 Subject: [PATCH] Parameters in wrong order, used wrong where conditions --- includes/SpecialExport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialExport.php b/includes/SpecialExport.php index 24c8dff2bb..c2ccbe8337 100644 --- 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->curCond(), - array( 'ORDER BY' => 'old_timestamp' ), $fname + 'old_text as text', 'old_flags as flags' ), $title->oldCond(), + $fname, array( 'ORDER BY' => 'old_timestamp' ) ); while( $s2 = $dbr->fetchObject( $res ) ) { -- 2.20.1