#1 add METHOD on VCALENDAR ITEM

closed-fixed
None
5
2006-10-04
2005-12-20
Anonymous
No

if you set the METHOD property on a VCALENDAR
ex: METHOD:PUBLISH
with the command :

$a->add_property('METHOD','PUBLISH');

the "iCalendar_property_method" crash

SOLUTION:

on the "iCalendar_property_method"
simply change the "==" with the "=" after $methods

$methods = array
('PUBLISH', 'REQUEST', 'REPLY', 'ADD', 'CANCEL', 'REFRE
SH', 'COUNTER', 'DECLINECOUNTER');

Thanks Jon for this class :)
I'll continue to test this

Alex

Discussion

    • assigned_to: nobody --> defacer
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=415483

    This bug was fixed in iCalendar_property.php version 1.14 on
    Nov 6 2005, which sadly was just after the Bennu 0.1 release
    (that release contained version 1.13 of the file).

    You can quickly grab a copy of the file from SF's online CVS
    viewer to get the fix right now. :-)

    Thanks for the report!