From 40b1ee6f175030a0d5e06b0f8504bbe087f63b97 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 8 Jan 2015 10:48:15 -0500 Subject: [PATCH] Bug Undefined index central_columnswork Signed-off-by: Marc Delisle --- ChangeLog | 1 + libraries/structure.lib.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f2697c6355..18be853d50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog - bug #4695 Changing $cfg['DefaultTabTable'] doesn't update link and title - bug Undefined index menuswork - bug Undefined index navwork +- bug Undefined index central_columnswork 4.3.6.0 (2015-01-07) - bug Undefined index notices while configuring recent and favorite tables diff --git a/libraries/structure.lib.php b/libraries/structure.lib.php index 100440935e..37203fdd23 100644 --- a/libraries/structure.lib.php +++ b/libraries/structure.lib.php @@ -1521,7 +1521,9 @@ function PMA_getHtmlForCheckAllTableColumn($pmaThemeImage, $text_dir, __('Fulltext'), 'b_ftext.png', 'ftext' ); } - if ($GLOBALS['cfgRelation']['central_columnswork']) { + if (isset($GLOBALS['cfgRelation']['central_columnswork']) + && $GLOBALS['cfgRelation']['central_columnswork'] + ) { $html_output .= PMA_Util::getButtonOrImage( 'submit_mult', 'mult_submit', 'submit_mult_central_columns_add', __('Add to central columns'), 'centralColumns_add.png',