[Tickets #12653] Missing timezone in setTimezone call

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Sep 3 13:58:38 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12653
------------------------------------------------------------------------------
  Ticket             | 12653
  Created By         | ctimoteo at sapo.pt
  Summary            | Missing timezone in setTimezone call
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


ctimoteo at sapo.pt (2013-09-03 13:58) wrote:

After last update i tried to export some calendar events,

i get one fatal error in class Horde_Date, function setTimezone  
(framework/Date/lib/Horde/Date.php, line 532)

after debug, i notice that in commit:

https://github.com/horde/horde/commit/fca899cecfd8c8cf8a549d6fdd183e1068307808

the commit added the call to function setTimezone but in my case the  
variable tz_local was not set, (kronolith/lib/Event/Sql.php, line 152)

i send a patch to check variable and get default system timezone if not set.

--
Carlos Timóteo



ctimoteo at sapo.pt (2013-09-03 13:58) uploaded: 0001-Check-valid-timezone.patch

http://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=0001-Check-valid-timezone.patch&ticket=12653&fn=%2F0001-Check-valid-timezone.patch





More information about the bugs mailing list