[horde] Error with Weather Service

Claudio Mantegna claudio.mantegna at gmail.com
Fri Aug 19 16:00:31 PDT 2005


Hello Jan,

after hours of work & test , finally i find and correct the error into
module php :

/horde/lib/Block/weatherdotcom.php


You begin the file

<?php
/* Disable block if not configured. */
if (!empty($GLOBALS['conf']['weatherdotcom']['partner_id']) &&
    !empty($GLOBALS['conf']['weatherdotcom']['license_key'])) {
    $block_name = _("weather.com");
}

In this mode the variable $block_name not take the value ("weather.com").
So i move the string $block_name = _("weather.com") under the line of
<?php , and now all work great.

I hope that this can help you.....

Claudio !


More information about the horde mailing list