Skip to content

Commit 357f073

Browse files
Mazhooncome-nc
authored andcommitted
Fix typo in weather default location setting.
Was 'lat' instead of 'lon', thanks for catching! Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Tuomas Nurmi <tuomas.nurmi@opinsys.fi>
1 parent b17cd50 commit 357f073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/weather_status/lib/Service/WeatherStatusService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ private function searchForAddress(string $address): array {
288288
*/
289289
public function getLocation(): array {
290290
$lat = $this->config->getUserValue($this->userId, Application::APP_ID, 'lat', $this->config->getAppValue(Application::APP_ID, 'lat', ''));
291-
$lon = $this->config->getUserValue($this->userId, Application::APP_ID, 'lon', $this->config->getAppValue(Application::APP_ID, 'lat', ''));
291+
$lon = $this->config->getUserValue($this->userId, Application::APP_ID, 'lon', $this->config->getAppValue(Application::APP_ID, 'lon', ''));
292292
$address = $this->config->getUserValue($this->userId, Application::APP_ID, 'address', $this->config->getAppValue(Application::APP_ID, 'address', ''));
293293
$mode = $this->config->getUserValue($this->userId, Application::APP_ID, 'mode', self::MODE_MANUAL_LOCATION);
294294
return [

0 commit comments

Comments
 (0)