MDL-60429 calendar: fix for updating event course and group
commit19fa690c3fe123444e7b95e4d309d3f656e02dcd
authorJake Dallimore <jake@moodle.com>
Tue, 24 Oct 2017 08:21:18 +0000 (24 16:21 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 25 Oct 2017 04:45:54 +0000 (25 12:45 +0800)
tree6107cef613c7b47ff15974982e49b8e7dbbada02
parente3a247849bf449df1408f355c0477848de813958
MDL-60429 calendar: fix for updating event course and group

The property courseid and groupid might not be set, so if updating,
use the existing value if a new value wasn't specified.
calendar/lib.php