[Tickets #8496] Re: Incorrect Reminder Message Log Time

bugs at horde.org bugs at horde.org
Thu Aug 27 17:05:37 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8496
------------------------------------------------------------------------------
  Ticket             | 8496
  Updated By         | bhalsema at purdue.edu
  Summary            | Incorrect Reminder Message Log Time
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_3
  Type               | Bug
  State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


bhalsema at purdue.edu (2009-08-27 17:05) wrote:

I was wrong.  :(  I failed you.

The error is that the unsetting of the TZ environment variable should  
only take place if it is set.
If it isn't, then it will generate a segmentation violation.  So, we  
are close.

I modified the clearing of the variable to be in a conditional  
statement...like what you use to restore the value.

if ($tz) {
    @putenv('TZ');
}

I still need to verify whether it corrects the logging issue, but  
without the conditional, the behavior is quite undesirable.  :)







More information about the bugs mailing list