mirror of https://github.com/Icinga/icinga2.git
Fix incorrect variable type in the FilterArrayToInt function
refs #12509
This commit is contained in:
parent
27a23fcff6
commit
8f2477db46
|
@ -36,7 +36,7 @@ void CustomVarObject::ValidateVars(const Dictionary::Ptr& value, const Validatio
|
|||
|
||||
int icinga::FilterArrayToInt(const Array::Ptr& typeFilters, const std::map<String, int>& filterMap, int defaultValue)
|
||||
{
|
||||
Value resultTypeFilter;
|
||||
int resultTypeFilter;
|
||||
|
||||
if (!typeFilters)
|
||||
return defaultValue;
|
||||
|
|
Loading…
Reference in New Issue