[curweather] CR request:
- removed stray space
This commit is contained in:
parent
00d957dfdc
commit
902862fbc8
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ function getWeather($loc, $units = 'metric', $lang = 'en', $appid = '', $cacheti
|
|||
$wunit = 'mph';
|
||||
}
|
||||
|
||||
if (trim((string) $res->weather['value']) == trim((string) $res->clouds['name']) ) {
|
||||
if (trim((string) $res->weather['value']) == trim((string) $res->clouds['name'])) {
|
||||
$desc = (string) $res->clouds['name'];
|
||||
} else {
|
||||
$desc = (string) $res->weather['value'] . ', ' . (string) $res->clouds['name'];
|
||||
|
|
Loading…
Add table
Reference in a new issue