mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-19 14:57:02 +00:00
[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';
|
$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'];
|
$desc = (string) $res->clouds['name'];
|
||||||
} else {
|
} else {
|
||||||
$desc = (string) $res->weather['value'] . ', ' . (string) $res->clouds['name'];
|
$desc = (string) $res->weather['value'] . ', ' . (string) $res->clouds['name'];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue