Could not realy find a way to test it with the Application itself.
So I write some lines before the if statment to test the method.
Basically without the Patch the old line has no effect at all because the new Helper class do not accept a variable as reference.
So only with the Patch $categoryId will be converted int an array of Integers if needed
In line 264 I assigned an array to $categoryId like @pos-it described and I get the same results. When I add a string to the array I get an sql error without the patch applied.
I have tested this item successfully on 9738eb6
Could not realy find a way to test it with the Application itself.
So I write some lines before the if statment to test the method.
Basically without the Patch the old line has no effect at all because the new Helper class do not accept a variable as reference.
So only with the Patch $categoryId will be converted int an array of Integers if needed
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7952.