Closed (fixed)
Project:
World Clock
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Dec 2008 at 23:25 UTC
Updated:
19 Dec 2008 at 00:01 UTC
Hi guys, as posted in the german drupalcenter.de http://www.drupalcenter.de/node/14777 please apply patch for upcoming next release to extend the maximum number of today 8 clocks to 24.
for this please change the options line
'#options' => array(1 => '1', 2 => '2', 3 => '3', 4 => '4', 5 => '5', 6 => '6', 7 => '7', 8 => '8'),
to
'#options' => drupal_map_assoc(range(1, 24)),
thx for this
Tom
Comments
Comment #1
reaneyk commentedWhy is there a set limit? I'd like to see an unlimited number of locations available instead of having a cap.
Comment #2
flevour commentedWorking on it right now. Please extend my thanks to the German forum. I can't understand the German parts, but the PHP code was helpful :)
Comment #3
flevour commentedFixed for D5 in the dev branch. Re-assigning to D6.
Comment #4
flevour commentedCommited for D6. Marking as fixed.
Comment #5
Tom Freudenberg commentedthx flevour
Tom