Fix: Check_source in ClassicUI is N/A

Fixes #4893
This commit is contained in:
Gunnar Beutner 2013-10-17 12:08:08 +02:00
parent fa845775a2
commit 05a81b84e1
1 changed files with 3 additions and 1 deletions

View File

@ -475,7 +475,9 @@ void Service::ProcessCheckResult(const Dictionary::Ptr& cr, const String& author
if (!cr->Contains("execution_end"))
cr->Set("execution_end", now);
if (!cr->Contains("check_source"))
String check_source = cr->Get("check_source");
if (check_source.IsEmpty())
cr->Set("check_source", authority);
bool reachable = IsReachable();