Closed (fixed)
Project:
CCK Slideshow
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2007 at 21:33 UTC
Updated:
28 Aug 2007 at 02:33 UTC
* Change Interval to 'Disable automatic rotation'
* Submit
* Back to edit slideshow - image interval is 5 sec.
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