From c2db3369164e9656899548d230d87bcaf2832121 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sun, 15 Aug 2010 07:03:59 +0000 Subject: [PATCH] Fixed E_STRICT from r71059 --- includes/Pager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Pager.php b/includes/Pager.php index 68acc51bf7..2d8be2328b 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -195,7 +195,8 @@ abstract class IndexPager implements Pager { $numRows = $res->numRows(); if ( $numRows ) { # Remove any table prefix from index field - $indexColumn = end( explode( '.', $this->mIndexField ) ); + $parts = explode( '.', $this->mIndexField ); + $indexColumn = end( $parts ); $row = $res->fetchRow(); $firstIndex = $row[$indexColumn]; -- 2.20.1