From 72367c53839a31851f961f82c4b771841ed33bb3 Mon Sep 17 00:00:00 2001 From: Alfred Egger Date: Sun, 25 Dec 2022 21:15:27 +0100 Subject: [PATCH] Add support for Nextcloud 25 --- appinfo/info.xml | 2 +- lib/Controller/CityController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 5e1431e..00e4556 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -11,7 +11,7 @@ https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png - + https://github.com/nextcloud/weather https://github.com/nextcloud/weather/issues diff --git a/lib/Controller/CityController.php b/lib/Controller/CityController.php index 82a0c9c..c084e95 100644 --- a/lib/Controller/CityController.php +++ b/lib/Controller/CityController.php @@ -136,7 +136,7 @@ class CityController extends IntermediateController { true); // If no cod we just return a 502 as the API is not responding properly - if (!array_key_exists("cod", $cityDatas)) { + if (!array_key_exists('cod', $cityDatas)) { return array("code" => 502, "response" => null); }