diff --git a/fhem/CHANGED b/fhem/CHANGED index e8664013f..51af64ce8 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: 49_SSCam: fix warnings, Forum: 45671#msg975610 - change: 70_ZoneMinder: improved contents of state (thx Florian_GT) - change: 95_Dashboard: attr dashboard_activetab is now working as designed, commandref revised, internal code review diff --git a/fhem/FHEM/49_SSCam.pm b/fhem/FHEM/49_SSCam.pm index 17ac9b868..7c8d1e7aa 100644 --- a/fhem/FHEM/49_SSCam.pm +++ b/fhem/FHEM/49_SSCam.pm @@ -48,6 +48,7 @@ eval "use FHEM::Meta;1" or my $modMetaAbsent = 1; # Versions History intern our %SSCam_vNotesIntern = ( + "8.18.1" => "18.09.2019 fix warnings, Forum: https://forum.fhem.de/index.php/topic,45671.msg975610.html#msg975610 ", "8.18.0" => "13.09.2019 change usage of own hashes to central %data hash, release unnecessary allocated memory ", "8.17.0" => "12.09.2019 fix warnings, support hide buttons in streaming device, change handle delete SNAPHASHOLD ", "8.16.3" => "13.08.2019 commandref revised ", @@ -7751,7 +7752,7 @@ sub SSCam_composegallery ($;$$$) { $pws = AttrVal($strmdev, "popupWindowSize", ""); # Größe eines Popups (umgelegt: Forum:https://forum.fhem.de/index.php/topic,45671.msg927912.html#msg927912) $pws =~ s/"//g if($pws); $ha = AttrVal($strmdev, "htmlattr", $ha); # htmlattr vom SSCamSTRM-Device übernehmen falls von SSCamSTRM-Device aufgerufen und gesetzt - $hf = AttrVal($strmdev, "hideButtons", 0); # Drucktasten im unteren Bereich ausblenden ? + $hf = AttrVal($strmdev, "hideButtons", 0); # Drucktasten im unteren Bereich ausblenden ? if($ftui) { $ha = AttrVal($strmdev, "htmlattrFTUI", $ha); # wenn aus FTUI aufgerufen divers setzen } @@ -7773,12 +7774,15 @@ sub SSCam_composegallery ($;$$$) { } # Header Generierung - my $header; - if($ftui) { - $header .= "$dlink
" if(!AttrVal($strmdev,"hideDisplayNameFTUI",0)); - } else { - $header .= "$dlink
" if(!AttrVal($strmdev,"hideDisplayName",0)); + my $header; + if($strmdev) { # Forum: https://forum.fhem.de/index.php/topic,45671.msg975610.html#msg975610 + if($ftui) { + $header .= "$dlink
" if(!AttrVal($strmdev,"hideDisplayNameFTUI",0)); + } else { + $header .= "$dlink
" if(!AttrVal($strmdev,"hideDisplayName",0)); + } } + if ($lang eq "EN") { $header .= "Snapshots ($limit/$totalcnt) of camera $camname - newest Snapshot: $lss
"; $header .= " (Possibly another snapshots are available. Last recall: $lupt)
" if(AttrVal($name,"snapGalleryBoost",0));