From c1f9d7e11ad650ae511dff3b3ddca0151d63acee Mon Sep 17 00:00:00 2001 From: Michael J Rubinsky Date: Sat, 11 Oct 2014 14:32:29 -0400 Subject: [PATCH] Bug: 13627 Append percent sign to end of WWO humidity values. --- .../Service_Weather/lib/Horde/Service/Weather/Current/Wwo.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/Service_Weather/lib/Horde/Service/Weather/Current/Wwo.php b/framework/Service_Weather/lib/Horde/Service/Weather/Current/Wwo.php index cda8c3bd262..660b12eeeaa 100644 --- a/framework/Service_Weather/lib/Horde/Service/Weather/Current/Wwo.php +++ b/framework/Service_Weather/lib/Horde/Service/Weather/Current/Wwo.php @@ -87,6 +87,8 @@ public function __get($property) str_replace('.png', '', basename($this->_properties->weatherIconUrl[0]->value)) ]; + case 'humidity': + return $this->_properties->humidity . '%'; default: if (empty($this->_map[$property])) { throw new Horde_Service_Weather_Exception_InvalidProperty();