This commit is contained in:
Hugues Peccatte 2015-11-08 15:59:00 +01:00
commit d80e139bab
3 changed files with 3 additions and 5 deletions

View File

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

View File

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

View File

@ -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')