Skip to content

Commit c0e9a35

Browse files
committed
Github:14269 (fix issue #15580)
1 parent fdfc446 commit c0e9a35

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Project/Sources/Classes/GoogleCalendar.4dm

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Function _conformEventDateTime($inObject : Object; $inName : Text) : Object
3737

3838
Function _conformEvent($inObject : Object) : Object
3939

40-
var $event : Object:=$inObject
40+
var $event : Object:=OB Copy($inObject)
4141

4242
If (OB Is defined($event; "end"))
4343
$event.end:=This._conformEventDateTime($event; "end")
@@ -47,6 +47,14 @@ Function _conformEvent($inObject : Object) : Object
4747
$event.start:=This._conformEventDateTime($event; "start")
4848
End if
4949

50+
If (OB Is defined($event; "id"))
51+
OB REMOVE($event; "id")
52+
End if
53+
54+
If (OB Is defined($event; "_internals"))
55+
OB REMOVE($event; "_internals")
56+
End if
57+
5058
return $event
5159

5260

0 commit comments

Comments
 (0)