From c3570961b45053e55147c5a77b32caff87edef8f Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 19 Jan 2010 19:06:12 +0100 Subject: [PATCH] Cast to string. --- kronolith/lib/Event/Sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kronolith/lib/Event/Sql.php b/kronolith/lib/Event/Sql.php index f444b1338..db7add170 100644 --- a/kronolith/lib/Event/Sql.php +++ b/kronolith/lib/Event/Sql.php @@ -150,7 +150,7 @@ class Kronolith_Event_Sql extends Kronolith_Event $this->_properties['event_title'] = $driver->convertToDriver($this->title); $this->_properties['event_description'] = $driver->convertToDriver($this->description); $this->_properties['event_location'] = $driver->convertToDriver($this->location); - $this->_properties['event_url'] = $this->url; + $this->_properties['event_url'] = (string)$this->url; $this->_properties['event_private'] = (int)$this->private; $this->_properties['event_status'] = $this->status; $this->_properties['event_attendees'] = serialize($driver->convertToDriver($this->attendees)); -- 2.11.0