templates/modules/mod-events.tpl uses mktime and under php5 it needs to have all arguments as integers.
Simple patch:
diff -r1.1.2.2 mod-events.tpl
30c30
< $thedate = mktime(23,59,59,$mon,$day,$year);
> $thedate = mktime(23,59,59,(int)$mon,(int)$day,(int)$year);
151c151
< $tmp = $itemsmktime(0, 0, 0, $mon, $val, $year);
> $tmp = $itemsmktime(0, 0, 0, (int)$mon, (int)$val, (int)$year);
153c153
< unset($itemsmktime(0, 0, 0, $mon, $val, $year));
> unset($itemsmktime(0, 0, 0, (int)$mon, (int)$val, (int)$year));
This was fixed by Sylvie Greverend in r7895.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |