This should solve a problem when no category has been entered.

This commit is contained in:
skeeter 2001-08-30 16:05:44 +00:00
parent 082d382c57
commit f41e2ae4c3

View File

@ -389,7 +389,7 @@ class socalendar_ extends socalendar__
. 'mdatetime='.$today.', '
. 'edatetime='.$enddate.', '
. 'priority='.$event['priority'].', '
. ($event['category'] != 0?'category='.$event['category'].', ':'')
. 'category='.$event['category'].', '
. "cal_type='".$type."', "
. 'is_public='.$event['public'].', '
. "title='".addslashes($event['title'])."', "