The branch, master has been updated via 698126002c0d0d37559e938f0ced5dac56700e7d (commit) from a9845254cb7d6b41cf047773c84da127ec0e3c21 (commit)
- Log ----------------------------------------------------------------- commit 698126002c0d0d37559e938f0ced5dac56700e7d Author: Marc Delisle marc@infomarc.info Date: Tue Feb 8 18:01:03 2011 -0500
Avoid notice of undefined index when cookie does not exist
-----------------------------------------------------------------------
Summary of changes: themes/darkblue_orange/css/theme_right.css.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/themes/darkblue_orange/css/theme_right.css.php b/themes/darkblue_orange/css/theme_right.css.php index cdc26d5..f364a3c 100644 --- a/themes/darkblue_orange/css/theme_right.css.php +++ b/themes/darkblue_orange/css/theme_right.css.php @@ -15,7 +15,8 @@ if (!defined('PMA_MINIMUM_COMMON')) { /******************************************************************************/ /* general tags */ html { - font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>; + font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : ( + isset($_COOKIE['pma_fontsize']) ? $_COOKIE['pma_fontsize'] : '82%'));?>; }
input, select, textarea {
hooks/post-receive