Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fix:
$form['advagg_async_generation'] = array(
'#type' => 'checkbox',
'#title' => t('Generate CSS/JS files on request (async mode)'),
'#default_value' => variable_get('advagg_async_generation', ADVAGG_ASYNC_GENERATION),
'#disabled' => $ret['advagg_async_generation']['severity'] == REQUIREMENT_ERROR ? TRUE : FALSE,
- '#description' => t('Current State: !value', array('!value' => filter_xss($ret['advagg_async_generation']['value'] . ' ' . !empty($ret['advagg_async_generation']['description']) ? $ret['advagg_async_generation']['description'] : ''))),
+ '#description' => t('Current State: !value', array('!value' => filter_xss($ret['advagg_async_generation']['value'] . ' ' . (!empty($ret['advagg_async_generation']['description']) ? $ret['advagg_async_generation']['description'] : '')))),
);
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedKeep the same bugs in the same issue :)
#1159712: Notice: Undefined index: description in advagg_admin_settings_form() (line 176 of advagg.admin.inc)