Closed (duplicate)
Project:
Advanced CSS/JS Aggregation
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2011 at 17:31 UTC
Updated:
17 May 2011 at 20:03 UTC
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 commentedKeep the same bugs in the same issue :)
#1159712: Notice: Undefined index: description in advagg_admin_settings_form() (line 176 of advagg.admin.inc)