Skip to content

Commit

Permalink
Bug: 13627 Append percent sign to end of WWO humidity values.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 11, 2014
1 parent 69f3399 commit c1f9d7e
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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();
Expand Down

0 comments on commit c1f9d7e

Please sign in to comment.