diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php
index 352788eca..11cfa5bc3 100644
--- a/libraries/display_tbl.lib.php
+++ b/libraries/display_tbl.lib.php
@@ -1879,9 +1879,7 @@ function PMA_displayTable(&$dt_result, &$the_disp_mode, $analyzed_sql)
$table = '';
}
}
- if (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1') {
- PMA_displayResultsOperations($the_disp_mode, $analyzed_sql);
- }
+
if ($is_display['nav_bar'] == '1') {
PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query);
echo "\n";
@@ -2008,6 +2006,11 @@ function PMA_displayTable(&$dt_result, &$the_disp_mode, $analyzed_sql)
} elseif (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1') {
echo "\n" . '
' . "\n";
}
+
+ // 6. ----- Displays "Query results operations"
+ if (!isset($GLOBALS['printview']) || $GLOBALS['printview'] != '1') {
+ PMA_displayResultsOperations($the_disp_mode, $analyzed_sql);
+ }
} // end of the 'PMA_displayTable()' function
function default_function($buffer) {