From 28a94057642200ebd8eba67e0a1e386bf1530b8a Mon Sep 17 00:00:00 2001 From: Michael J Rubinsky Date: Tue, 21 Apr 2015 12:56:03 -0400 Subject: [PATCH] Can't use empty() in this way. --- kronolith/lib/Calendar/Internal.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kronolith/lib/Calendar/Internal.php b/kronolith/lib/Calendar/Internal.php index c91ea132ded..1982c51f036 100644 --- a/kronolith/lib/Calendar/Internal.php +++ b/kronolith/lib/Calendar/Internal.php @@ -138,7 +138,8 @@ public function caldavUrl() */ public function isSystem() { - return empty($this->owner()) && ($this->_share->get('type') == Kronolith::SHARE_TYPE_USER); + $owner = $this->owner(); + return empty($owner) && ($this->_share->get('type') == Kronolith::SHARE_TYPE_USER); } /**