Details
Description
The type variable is not checked for or initialized allowing for a PHP warning in my case:
Notice: Undefined index: type in /home/arborrow/Moodle/code/contrib-605/lib/weblib.php on line 3815
I think if we test for it first that would help especially considering that the usage of type is admittedly not very well documented yet and at this point only used to check for activity.
Peace - Anthony
here is a quick patch that seemed to resolve the issue