$module is used on line 202, but it hasn't been defined.
http://drupalcode.org/project/views_slideshow.git/blob/refs/heads/7.x-3....
194 $form['widgets'][$location_id][$widget_id]['weight'] = array(
195 '#type' => 'select',
196 '#title' => t('Weight of the !name', array('!name' => $widget_info['name'])),
197 '#default_value' => ($this->options['widgets'][$location_id][$widget_id]['weight'] > count($widgets)) ? count($widgets) : $this->options['widgets'][$location_id][$widget_id]['weight'],
198 '#options' => $weights,
199 '#description' => t('Determines in what order the !name appears. A lower weight will cause the !name to be above higher weight items.', array('!name' => $widget_info['name'])),
200 '#states' => array(
201 'visible' => array(
202 ':input[name="style_options[widgets][' . $location_id . '][' . $widget_id . '][enable]"]' => array('value' => $module),
203 ),
204 ),
205 );
Comment | File | Size | Author |
---|---|---|---|
#2 | 1167310-undefined_module-1-d7.patch | 908 bytes | redndahead |
Comments
Comment #1
RunePhilosof CreditAttribution: RunePhilosof commentedI wasn't able to recreate the error that made me investigate that line of source code.
However, it looks suspicious nonetheless.
On IRC, redndahead suggested exchanging 'value' => $module with 'checked' => TRUE.
Comment #2
redndahead CreditAttribution: redndahead commentedThis patch was committed.