fixed: minor issues

git-svn-id: https://svn.fhem.de/fhem/trunk@3696 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2013-08-14 12:55:18 +00:00
parent 6cef88395f
commit 7f340e9354

View File

@@ -325,7 +325,9 @@ OWO_GetStatus($;$){
readingsBulkUpdate($hash, "my_lastSent", localtime(time));
}
readingsEndUpdate($hash, 1);
CommandDeleteReading(undef, "$name my_.*") if $htmlDummy->is_error;
if(defined($htmlDummy)){
CommandDeleteReading(undef, "$name my_.*") if $htmlDummy->is_error;
}
}
##### end of send job