Skip to content

Commit 43d03f5

Browse files
author
Coby Tamayo
committed
Fix a Notice in recurrence_description
1 parent 8aff25b commit 43d03f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Event.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ public function recurring() : bool {
301301
public function recurrence_description() : string {
302302
return $this->post->meta(meta_key('recurrence_description'))
303303
?: $this->options['recurrence_description']
304+
?? ''
304305
?: ''; // ensure we have a string
305306
}
306307

0 commit comments

Comments
 (0)