$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 );

CommentFileSizeAuthor
#2 1167310-undefined_module-1-d7.patch908 bytesredndahead
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RunePhilosof’s picture

I 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.

redndahead’s picture

Status: Active » Fixed
FileSize
908 bytes

This patch was committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.