2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

57_SSCal: contrib 1.6.1

git-svn-id: https://svn.fhem.de/fhem/trunk@21122 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-02-04 20:51:14 +00:00
parent 3db832afb4
commit 74e7db80a1

View File

@ -3177,9 +3177,7 @@ sub SSCal_jboolmap($){
my ($bool)= @_;
if(JSON::is_bool($bool)) {
my $b = JSON::boolean($bool);
$bool = 1 if($b == $JSON::true);
$bool = 0 if($b == $JSON::false);
$bool = $bool ? 1 : 0;
}
return $bool;