From: Brion Vibber Date: Fri, 3 Sep 2004 06:28:59 +0000 (+0000) Subject: Parameters in wrong order, used wrong where conditions X-Git-Tag: 1.5.0alpha1~2150 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=4f8ccf628c8f2c0c73f8436bbfe9318b997b6560;p=lhc%2Fweb%2Fwiklou.git Parameters in wrong order, used wrong where conditions --- 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 ) ) {