Commit 6f74a19c authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix crash in groupinfo block when viewing a group you've been invited to


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent fb76c8e4
......@@ -79,6 +79,7 @@ class PluginBlocktypeGroupInfo extends SystemBlocktype {
}
protected static function get_data($groupid) {
global $USER;
if(!defined('GROUP')) {
define('GROUP', $groupid);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment