diff --git a/ChangeLog b/ChangeLog index 90ea921246..c56839165a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -32,6 +32,7 @@ phpMyAdmin - ChangeLog - issue #11639 Bug with the MainBackground Color - issue Profiling checkbox is missing - issue #11642 Properly handle session expiry after POST requests +- issue #11648 Notice in ./export.php#214 Undefined index: quick_or_custom 4.5.1.0 (2015-10-23) - issue Invalid argument supplied for foreach() diff --git a/export.php b/export.php index a14db857fe..a0f44ffac5 100644 --- a/export.php +++ b/export.php @@ -212,7 +212,7 @@ if (!defined('TESTSUITE')) { $separate_files = ''; // Is it a quick or custom export? - if ($_REQUEST['quick_or_custom'] == 'quick') { + if (isset($_REQUEST['quick_or_custom']) && $_REQUEST['quick_or_custom'] == 'quick') { $quick_export = true; } else { $quick_export = false; diff --git a/libraries/controllers/table/TableSearchController.php b/libraries/controllers/table/TableSearchController.php index 93d0288749..57b61fa885 100644 --- a/libraries/controllers/table/TableSearchController.php +++ b/libraries/controllers/table/TableSearchController.php @@ -204,10 +204,7 @@ class TableSearchController extends TableController $GLOBALS['cfg']['DefaultTabTable'], 'table' ); } - // Defines the url to return to in case of error in the next sql - // statement - $params = array('db' => $this->db, 'table' => $this->table); - $err_url = $goto . '?' . PMA_URL_getCommon($params); + // Displays the find and replace form $this->response->addHTML( Template::get('table/search/selection_form')