Bug Undefined index savedsearcheswork

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2015-03-05 08:36:25 -05:00
parent cf97e8626e
commit 22c02499d7
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ phpMyAdmin - ChangeLog
4.3.12.0 (not yet released)
- bug #4746 Right-aligned columns have left-aligned header
- bug #4779 PMA_Util::parseEnumSetValues fails on enums with UTF-8 values
- bug Undefined index savedsearcheswork
4.3.11.1 (2015-03-04)
- bug [security] Risk of BREACH attack, see PMASA-2015-1

View File

@ -22,7 +22,7 @@ $cfgRelation = PMA_getRelationsParam();
$savedSearchList = array();
$savedSearch = null;
$currentSearchId = null;
if ($cfgRelation['savedsearcheswork']) {
if (isset($cfgRelation['savedsearcheswork']) && $cfgRelation['savedsearcheswork']) {
include 'libraries/SavedSearches.class.php';
$header = $response->getHeader();
$scripts = $header->getScripts();