Menu

#2 Incorrect date errors under admin add/ed

open
nobody
None
5
2002-03-28
2002-03-28
No

In the admin pages, if you try to add or edit an event
without an end date, you get an "invalid date" error..
the following line changes will rectify this:

In Admin.pm change

if (exists $http_in->{end_month}
and exists $http_in->{end_day}
and exists $http_in->{end_year}) {

to

if (($http_in->{end_month} != 0) and ($http_in->
{end_day} != 0) and ($http_in->{end_year} != 0)) {

under both the add_event and save_edits procedures

Discussion


Log in to post a comment.