Skip to content

Commit

Permalink
Fix a Notice in recurrence_description
Browse files Browse the repository at this point in the history
  • Loading branch information
Coby Tamayo committed Feb 24, 2021
1 parent 8aff25b commit 43d03f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ public function recurring() : bool {
public function recurrence_description() : string {
return $this->post->meta(meta_key('recurrence_description'))
?: $this->options['recurrence_description']
?? ''
?: ''; // ensure we have a string
}

Expand Down

0 comments on commit 43d03f5

Please sign in to comment.