Fix config validation for DB IDO categories 'DbCatEverything'

refs #5238
This commit is contained in:
Michael Friedrich 2017-08-09 16:30:01 +02:00
parent 37eb940f6e
commit f6691b4936
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ void DbConnection::ValidateCategories(const Array::Ptr& value, const ValidationU
int filter = FilterArrayToInt(value, DbQuery::GetCategoryFilterMap(), 0);
if (filter == -1 || (filter & ~(DbCatInvalid | DbCatEverything | DbCatConfig | DbCatState |
if (filter != DbCatEverything && (filter & ~(DbCatInvalid | DbCatEverything | DbCatConfig | DbCatState |
DbCatAcknowledgement | DbCatComment | DbCatDowntime | DbCatEventHandler | DbCatExternalCommand |
DbCatFlapping | DbCatLog | DbCatNotification | DbCatProgramStatus | DbCatRetention |
DbCatStateHistory)) != 0)