fix uninitialized value
fix uninitialized value in string eq at fhem.pl line 4962 [Ticket: #6]
This commit is contained in:
@ -1288,7 +1288,8 @@ sub WriteReadings {
|
||||
if ( exists( $decode_json->{payload}{'channelName'} ) );
|
||||
::readingsBulkUpdateIfChanged( $hash, 'channelMedia',
|
||||
$decode_json->{payload}{'channelTypeName'} )
|
||||
if ( exists( $decode_json->{payload}{'channelTypeName'} ) );
|
||||
if ( exists( $decode_json->{payload}{'channelTypeName'} )
|
||||
&& $decode_json->{payload}{'channelTypeName'} );
|
||||
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user