Permalink
Browse files

Bug #4121 Print view does not work

  • Loading branch information...
1 parent e091297 commit 8a57dbf16ddcfe3f83bf5730d2054155394f0ed1 @lem9 lem9 committed Oct 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/sql.lib.php
@@ -399,7 +399,7 @@ function PMA_getHtmlForPrintViewHeader($db, $sql_query, $num_rows)
$response = PMA_Response::getInstance();
$header = $response->getHeader();
if (isset($_REQUEST['printview']) && $_REQUEST['printview'] == '1') {
- PMA_Util::checkParameters(array('db', 'full_sql_query'));
+ PMA_Util::checkParameters(array('db', 'sql_query'));
$header->enablePrintView();
$hostname = '';
if ( $GLOBALS['cfg']['Server']['verbose']) {

0 comments on commit 8a57dbf

Please sign in to comment.