Fix hash value for empty custom attributes

refs #4991
This commit is contained in:
Michael Friedrich 2017-03-22 16:55:01 +01:00
parent 9de4c8bc58
commit 3310cc30ae
1 changed files with 2 additions and 2 deletions

View File

@ -65,12 +65,12 @@ String RedisWriter::CalculateCheckSumVars(const ConfigObject::Ptr& object)
CustomVarObject::Ptr customVarObject = dynamic_pointer_cast<CustomVarObject>(object);
if (!customVarObject)
return Empty;
return HashValue(Empty);
Dictionary::Ptr vars = customVarObject->GetVars();
if (!vars)
return Empty;
return HashValue(Empty);
return HashValue(vars);
}