Another place to cast Horde::Url to string
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 5 Dec 2009 01:42:42 +0000 (20:42 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 5 Dec 2009 01:42:42 +0000 (20:42 -0500)
timeobjects/lib/Driver/Weatherdotcom.php

index b80c081..02fbee9 100644 (file)
@@ -254,7 +254,7 @@ class TimeObjects_Driver_Weatherdotcom extends TimeObjects_Driver
                                'recurrence' => Horde_Date_Recurrence::RECUR_NONE,
                                'params' => array(),
                                'link' => '#',
-                               'icon' =>  Horde::url($GLOBALS['registry']->getImageDir('horde') . '/block/weatherdotcom/23x23/' . ($data['day']['conditionIcon'] == '-' ? 'na' : $data['day']['conditionIcon']) . '.png', true, false));
+                               'icon' =>  (string)Horde::url($GLOBALS['registry']->getImageDir('horde') . '/block/weatherdotcom/23x23/' . ($data['day']['conditionIcon'] == '-' ? 'na' : $data['day']['conditionIcon']) . '.png', true, false));
 
             $day->mday++;
         }