diff --git a/ChangeLog b/ChangeLog index 8c92a910f..388fbae1f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2003-07-23 Marc Delisle * libraries/grab_globals.lib.php3: error when $_SERVER does not exist + * tbl_printview.php3: wrong validation for path disclosure (bug 776436) 2003-07-23 Garvin Hicking * css/phpmyadmin.css.php3: Removed 'lowercase' transform diff --git a/tbl_printview.php3 b/tbl_printview.php3 index 90beb6be7..bd69f13fc 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -12,13 +12,8 @@ if (!isset($selected_tbl)) { // Check parameters -if (!defined('PMA_COMMON_LIB_INCLUDED')) { - include('./libraries/common.lib.php3'); -} - -PMA_checkParameters(array('the_tables')); -if (!is_array($the_tables)) { - exit(); +if (!isset($the_tables) || !is_array($the_tables)) { + $the_tables = array(); } /**