Download & Extend

Bug when using optional to dates

Project:RSVP
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:ulf1
Status:closed (fixed)

Issue Summary

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

Comments

#1

Assigned to:Anonymous» ulf1
Status:active» fixed

I fixed this bug in the current dev stream.

Thanks,
Ulf

#2

Status:fixed» closed (fixed)

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

nobody click here