From b7d46b5da57b46cda101822191e6c5c9f33a7474 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 6 Jul 2007 19:20:29 +0000 Subject: [PATCH] *Typo --- includes/Pager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.20.1