From 153b6c14974be77a1b507891d9cc2f7a186ecee8 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 6 Apr 2014 08:30:09 -0400 Subject: [PATCH] Fix incorrect number of returned parameters Signed-off-by: Marc Delisle --- libraries/DisplayResults.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/DisplayResults.class.php b/libraries/DisplayResults.class.php index 85d06971db..ab88e13470 100644 --- a/libraries/DisplayResults.class.php +++ b/libraries/DisplayResults.class.php @@ -4604,10 +4604,10 @@ class PMA_DisplayResults // even if there are many table references list( $sort_expression, $sort_expression_nodirection, - $sort_direction,$number_of_columns + $sort_direction ) = $this->_getSortParams($analyzed_sql[0]['order_by_clause']); - + $number_of_columns = count($sort_expression_nodirection); // 1.4 Prepares display of first and last value of the sorted column for ( $i = 0; $i < $number_of_columns; $i++ ) { $sorted_column_message = $this->_getSortedColumnMessage(