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:
parent
3db832afb4
commit
74e7db80a1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user