fixed: minor issues

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3696 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2013-08-14 12:55:18 +00:00
parent a07eb4da61
commit a94759a897

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