From e7b276d56dfd34626f977685a8b37e5d6b61e676 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/fhem@3541 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_openweathermap.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FHEM/98_openweathermap.pm b/FHEM/98_openweathermap.pm index d2a6bb8a4..c044ad63a 100644 --- a/FHEM/98_openweathermap.pm +++ b/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);