#1820 found and fixed a bug in calendar

phpws1.x
closed-fixed
5
2008-03-14
2008-01-17
phpwizz
No

Hi.

When i started to use calendar and added a all day event i got this error
Fatal error: Call to undefined method Calendar_Event::formatStartTime() in /xxx/xxx/public_html/test/mod/calendar/class/Event.php on line 349

It was an easy fix what we want is the value in the database not an methot so line 349 should be
$this->start_time AND NOT
$this->formatStartTime()

// PHPWIZZ

Discussion

  • Logged In: YES
    user_id=400519
    Originator: NO

    thank you. The function name was changed and this one got left behind.

     
    • assigned_to: nobody --> stardog
    • status: open --> closed-fixed