Cast to string.
authorJan Schneider <jan@horde.org>
Tue, 19 Jan 2010 18:06:12 +0000 (19:06 +0100)
committerJan Schneider <jan@horde.org>
Tue, 19 Jan 2010 18:06:12 +0000 (19:06 +0100)
kronolith/lib/Event/Sql.php

index f444b13..db7add1 100644 (file)
@@ -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));