02_FTUISRV: fix empty loop includes results

git-svn-id: https://svn.fhem.de/fhem/trunk@22901 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
viegener
2020-10-02 12:23:36 +00:00
parent 5413b191e2
commit 52f480764b
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # 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. # 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 - feature: 31_HUEDevice: added gesture reading for Aqara Cube
added readingList attribute added readingList attribute
- feature: 50_SSChatBot: new getter apiInfo - feature: 50_SSChatBot: new getter apiInfo

View File

@@ -75,7 +75,7 @@
# doc change on ftui-if # doc change on ftui-if
# FIX: changed replaceSetmagic to hand over real device hash # FIX: changed replaceSetmagic to hand over real device hash
# # FIX: $result might be undefined in some cases for loop/if
# #
################################################################ ################################################################
#TODO: #TODO:
@@ -853,6 +853,8 @@ sub FTUISRV_handleLoopInc( $$$$$$ ) {
# Evaluate expression as command to get list of entries for loop ??? # Evaluate expression as command to get list of entries for loop ???
my $result = AnalyzeCommand(undef, $expr); my $result = AnalyzeCommand(undef, $expr);
$result = "" if ( ! $result );
# Identify split char ??? # Identify split char ???
# split at splitchar (default \n) into array ??? # split at splitchar (default \n) into array ???