Update tCCalendarEventFunctions.php

bug fix found in fsu