From d79f84aba8a4fa4970e8b204d171b3f1bfe80fb3 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 18 Nov 2010 16:53:29 +0100 Subject: [PATCH] Use hasRecurEnd(). --- framework/Date/lib/Horde/Date/Recurrence.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.11.0