mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
02_FTUISRV: fix empty loop includes results
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22901 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
eaa6c08290
commit
1bf5758f65
1
CHANGED
1
CHANGED
@ -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
|
||||||
|
@ -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:
|
||||||
@ -852,6 +852,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 ???
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user