Avoid notice of undefined index when cookie does not exist
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user