diff --git a/fhem/CHANGED b/fhem/CHANGED index 623088536..f03687402 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 74_AMADDevice: fix decode_utf8 call in eval - feature: 57_Calendar: reduce memory footprint (forum #74481) - bugfix: 74_AMADDevice: fix openurl bug - bugfix: 49_SSCam: "uninitialized value in pattern ..." on fhem start diff --git a/fhem/FHEM/74_AMADDevice.pm b/fhem/FHEM/74_AMADDevice.pm index 795d1f1b0..244da3ca6 100644 --- a/fhem/FHEM/74_AMADDevice.pm +++ b/fhem/FHEM/74_AMADDevice.pm @@ -54,7 +54,7 @@ eval "use Encode qw(encode encode_utf8);1" or $missingModul .= "Encode "; eval "use JSON;1" or $missingModul .= "JSON "; -my $modulversion = "4.0.2"; +my $modulversion = "4.0.3"; my $flowsetversion = "4.0.0"; @@ -782,7 +782,7 @@ sub AMADDevice_Parse($$) { my $name = $io_hash->{NAME}; - my $decode_json = eval{decode_json(encode_utf8($json))}; + my $decode_json = eval{decode_json($json)}; if($@){ Log3 $name, 3, "AMADDevice ($name) - JSON error while request: $@"; return;