Commit 327ec9c
committed
fix(card): use accessor for createdAt in VTODO serialization
CardDetails extends Card and keeps its own default entity properties. Direct property access can therefore read null from the wrapper while the magic getter delegates through __call() to the inner Card.
That can crash any code path serializing a Card-like object with a due date via getCalendarObject(), not only CalDAV PUT handling.
Signed-off-by: Jaggob <37583151+Jaggob@users.noreply.github.com>1 parent 48e6628 commit 327ec9c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments