structure: replace next (Forum #28912)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6936 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-11-09 21:11:40 +00:00
parent 4b55cb7b86
commit 3373eae168

View File

@@ -148,7 +148,7 @@ sub structure_Notify($$)
} }
} }
return "" if(AttrVal($me,"disable", undef)); return "" if(IsDisabled($me));
#pruefen ob Devices welches das notify ausgeloest hat Mitglied dieser #pruefen ob Devices welches das notify ausgeloest hat Mitglied dieser
# Struktur ist # Struktur ist
@@ -396,7 +396,7 @@ structure_Attr($@)
if($hash->{INATTR}) { if($hash->{INATTR}) {
Log3 $me, 1, "ERROR: endless loop detected in structure_Attr for $me"; Log3 $me, 1, "ERROR: endless loop detected in structure_Attr for $me";
next; return;
} }
$hash->{INATTR} = 1; $hash->{INATTR} = 1;
@@ -637,6 +637,9 @@ structure_Attr($@)
<a name="structureattr"></a> <a name="structureattr"></a>
<b>Attribute</b> <b>Attribute</b>
<ul> <ul>
<li><a href="#disable">disable</a></li>
<li><a href="#disabledForIntervals">disabledForIntervals</a></li><br>
<a name="clientstate_behavior"></a> <a name="clientstate_behavior"></a>
<li>clientstate_behavior<br> <li>clientstate_behavior<br>
Der Status einer Struktur h&auml;ngt von den Stati der zugef&uuml;gten Der Status einer Struktur h&auml;ngt von den Stati der zugef&uuml;gten