diff options
Diffstat (limited to 'vendor/sabre/vobject/lib/ITip/Message.php')
-rw-r--r-- | vendor/sabre/vobject/lib/ITip/Message.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/vendor/sabre/vobject/lib/ITip/Message.php b/vendor/sabre/vobject/lib/ITip/Message.php index 43536f172..bebe2e4fc 100644 --- a/vendor/sabre/vobject/lib/ITip/Message.php +++ b/vendor/sabre/vobject/lib/ITip/Message.php @@ -14,8 +14,8 @@ namespace Sabre\VObject\ITip; * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ -class Message -{ +class Message { + /** * The object's UID. * @@ -123,14 +123,19 @@ class Message * * @return mixed bool|string */ - public function getScheduleStatus() - { + function getScheduleStatus() { + if (!$this->scheduleStatus) { + return false; + } else { - list($scheduleStatus) = explode(';', $this->scheduleStatus); + list($scheduleStatus) = explode(';', $this->scheduleStatus); return $scheduleStatus; + } + } + } |