Fix incorrect number of returned parameters

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2014-04-06 08:30:09 -04:00
parent 6a70005df1
commit 153b6c1497

View File

@ -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(