From: Jan Schneider Date: Thu, 18 Nov 2010 15:53:29 +0000 (+0100) Subject: Use hasRecurEnd(). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d79f84aba8a4fa4970e8b204d171b3f1bfe80fb3;p=horde.git Use hasRecurEnd(). --- diff --git a/framework/Date/lib/Horde/Date/Recurrence.php b/framework/Date/lib/Horde/Date/Recurrence.php index 318ce4b35..08dfc2def 100644 --- a/framework/Date/lib/Horde/Date/Recurrence.php +++ b/framework/Date/lib/Horde/Date/Recurrence.php @@ -1550,7 +1550,7 @@ class Horde_Date_Recurrence $json = new stdClass; $json->t = $this->recurType; $json->i = $this->recurInterval; - if ($this->recurEnd) { + if ($this->hasRecurEnd()) { $json->e = $this->recurEnd->toJson(); } if ($this->recurCount) {