Bug when using optional to dates

muhleder - September 21, 2009 - 13:20
Project:RSVP
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:ulf1
Status:closed
Description

Can't remember the exact state that caused this bug, but think it was when using an event with an optional 'to date', in some cases the $date variable would be empty in the dateconnector module around line 152, triggering a php error.

date_timezone_set($date, timezone_open($display_tz));

This patch adds a quick check to the existing one to make sure the $date variable is set.

AttachmentSize
rsvp-dateconnector-todate.patch759 bytes

#1

ulf1 - October 14, 2009 - 06:16
Assigned to:Anonymous» ulf1
Status:active» fixed

I fixed this bug in the current dev stream.

Thanks,
Ulf

#2

System Message - October 28, 2009 - 06:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.