Status: Waiting for peer review
Affects Version/s: 3.7
Fix Version/s: None
Pull from Repository:
Pull Master Branch:master-mdl-66673
Pull Master Diff URL:
When a group gets created automatically the form might include or not the field 'enablemessaging' depending on the ability of the user to create group conversations:
If the field does not get included in the form, upon processing we get a Notice, since the property $data->enablemessaging does not exist:
The first solution I found was to include in the config.php:
Now, I tested and consider that a better Canonical solution is:
- Modify the file group/autogroup.php replacing the line mentioned before by:
In this fashion we do not have to alter the config.php!
Any comments or suggestions?