[dev] weatherdotcom block
Ben Chavet
ben at chavet.net
Wed Mar 31 10:25:00 PST 2004
There was a variable name typo that was fixed in the latest
Services_Weather PEAR package that needs to be fixed in the
weatherdotcom block. Attached is a patch to do so.
modified files:
lib/Block/weatherdotcom.php
--Ben
-------------- next part --------------
Index: weatherdotcom.php
===================================================================
RCS file: /repository/horde/lib/Block/weatherdotcom.php,v
retrieving revision 1.14
diff -u -r1.14 weatherdotcom.php
--- weatherdotcom.php 26 Mar 2004 21:33:57 -0000 1.14
+++ weatherdotcom.php 31 Mar 2004 18:22:33 -0000
@@ -248,7 +248,7 @@
// forecast is no longer valid.
if ($which > 0 || ($which == 0 &&
(strtotime($location['time']) < strtotime('14:00')))) {
- $html .= '<span style="color:red">' . round($day['tempertureHigh']) .
+ $html .= '<span style="color:red">' . round($day['temperatureHigh']) .
'°' . String::upper($units['temp']) . '</span>/';
}
$html .= '<span style="color:blue">' . round($day['temperatureLow']) .
More information about the dev
mailing list