Fixing notification for non-readingsUpdate modules (IT)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2631 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-02-02 13:57:30 +00:00
parent d24a2e7047
commit 16bee1afcc

View File

@@ -1143,8 +1143,10 @@ DoSet(@)
return undef if($skipTrigger);
shift @a;
if(!$doTriggerCalled) { # Backward compatibility. Use readingsUpdate in SetFn now
DoTrigger($dev, join(" ", @a), 1);
# Backward compatibility. Use readingsUpdate in SetFn now
if(!$doTriggerCalled) {
my $arg = join(" ", @a) if(!$hash->{CHANGED} || !int(@{$hash->{CHANGED}}));
DoTrigger($dev, $arg, 1);
}
return undef;