Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I saw this too. The bug is in cck_slideshow_get_settings. The code was not correctly evaluating the auto_play setting when set to 0 (Disable automatic rotation).
I changed the line from
$settings['auto_play'] = empty($settings['auto_play']) ? 5 : $settings['auto_play'];
to
$settings['auto_play'] = isset($settings['auto_play']) ? $settings['auto_play'] : 5;
Comments
Comment #1
fiishi commentedI saw this too. The bug is in cck_slideshow_get_settings. The code was not correctly evaluating the auto_play setting when set to 0 (Disable automatic rotation).
I changed the line from
$settings['auto_play'] = empty($settings['auto_play']) ? 5 : $settings['auto_play'];
to
$settings['auto_play'] = isset($settings['auto_play']) ? $settings['auto_play'] : 5;
This worked for me.
Comment #2
quicksketchThanks fiishi! Committed.
Comment #3
(not verified) commented