Commit 77c45fa7 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix fatal error when editing group views (bug #839276)



Change-Id: I5716ab99dc58b6d0c319d51eed9ee6796b68aa67
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent e128eff8
......@@ -965,6 +965,7 @@ class User {
if (!isset($this->grouproles[$group])) {
return false;
}
require_once('group.php');
return group_role_can_edit_views($group, $this->grouproles[$group]);
}
return false;
......
Markdown is supported
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