mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user