From 6d6fca814e267149726f3d546e8428e36ec73029 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Mon, 29 Jul 2013 20:07:24 +0000 Subject: [PATCH] =?UTF-8?q?fixed:=20prototype=20mismatch=20error=20(I=20ho?= =?UTF-8?q?pe=E2=80=A6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.fhem.de/fhem/trunk@3541 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_openweathermap.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_openweathermap.pm b/fhem/FHEM/98_openweathermap.pm index d2a6bb8a4..c044ad63a 100644 --- a/fhem/FHEM/98_openweathermap.pm +++ b/fhem/FHEM/98_openweathermap.pm @@ -334,7 +334,9 @@ UpdateReadings($$$){ $jsonWeather = $json->decode($response); } catch { Log $loglevel, "openweather $name error: JSPON decode"; - return; + return undef; + } finally { + return undef; }; readingsBeginUpdate($hash);