fixing bug when adding course event -refs #6495
Merge pull request #99 from ycastillo/yoselyn.6495

fixing bug when adding course event -refs #6495