Last modified: 2008-01-14 14:39:48 UTC
When saving, the following PHP warning shows up unless at least one category is selected in the select box. Warning: Invalid argument supplied for foreach() in /var/www/wiki/extensions/SelectCategory/SelectCategoryFunctions.php on line 92
Created attachment 3599 [details] no_categories_bug.patch
Comment on attachment 3599 [details] no_categories_bug.patch checks for $_POST["SelectCategoryList"]'s presence
In general, we prefer to use the WebRequest object (global instance $wgRequest) to handle incoming GET/POST data.
As you can see in the patch`s contents, I merely followed the file`s existing style, which used $_POST.
The bug doesn't occur in revision 29737 any more.