From: Aaron Schulz Date: Fri, 6 Jul 2007 19:20:29 +0000 (+0000) Subject: *Typo X-Git-Tag: 1.31.0-rc.0~52242 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=b7d46b5da57b46cda101822191e6c5c9f33a7474;p=lhc%2Fweb%2Fwiklou.git *Typo --- diff --git a/includes/Pager.php b/includes/Pager.php index 1d9b162c0f..0dc29e3c4d 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -170,14 +170,14 @@ abstract class IndexPager implements Pager { * @param boolean $descending Query direction, false for ascending, true for descending * @return ResultWrapper */ - function reallyDoQuery( $offset, $limit, $ascending ) { + function reallyDoQuery( $offset, $limit, $descending ) { $fname = __METHOD__ . ' (' . get_class( $this ) . ')'; $info = $this->getQueryInfo(); $tables = $info['tables']; $fields = $info['fields']; $conds = isset( $info['conds'] ) ? $info['conds'] : array(); $options = isset( $info['options'] ) ? $info['options'] : array(); - if ( $ascending ) { + if ( $descending ) { $options['ORDER BY'] = $this->mIndexField; $operator = '>'; } else {