diff --git a/fhem/CHANGED b/fhem/CHANGED index d312b4f72..05fc8fb42 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: 02_FTUISRV: fix empty loop includes results - feature: 31_HUEDevice: added gesture reading for Aqara Cube added readingList attribute - feature: 50_SSChatBot: new getter apiInfo diff --git a/fhem/FHEM/02_FTUISRV.pm b/fhem/FHEM/02_FTUISRV.pm index 95f5f97ef..bf5484af8 100644 --- a/fhem/FHEM/02_FTUISRV.pm +++ b/fhem/FHEM/02_FTUISRV.pm @@ -75,7 +75,7 @@ # doc change on ftui-if # FIX: changed replaceSetmagic to hand over real device hash -# +# FIX: $result might be undefined in some cases for loop/if # ################################################################ #TODO: @@ -852,6 +852,8 @@ sub FTUISRV_handleLoopInc( $$$$$$ ) { # Evaluate expression as command to get list of entries for loop ??? my $result = AnalyzeCommand(undef, $expr); + + $result = "" if ( ! $result ); # Identify split char ???