The new handling of allowed categories introduced via 4e39524782366d8cedaff4978737f0192bb395c4 and released with v11.0.0 expects the category field to always be filled.
If no category is set (which was valid in all versions before) the converter for wantedCategories interprets the empty field categoryas 0.
This patch re-allows empty category.
In order to keep the clear structure of the function, instead of handling empty category before the conversion, it just adds 0 as allowed, on top of all other allowed categories.
The new handling of allowed categories introduced via 4e39524782366d8cedaff4978737f0192bb395c4 and released with v11.0.0 expects the category field to always be filled.
If no category is set (which was valid in all versions before) the converter for
wantedCategories
interprets the empty fieldcategory
as 0.This patch re-allows empty category.
In order to keep the clear structure of the function, instead of handling empty category before the conversion, it just adds
0
as allowed, on top of all other allowed categories.