/node/add/quiz
throws
Warning: Missing argument 3 for og_user_access(), called in /***/profiles/elms/modules/elms_features/elms_site/elms_site.module on line 66 and defined in og_user_access() (line 1844 of /***/profiles/elms/modules/contrib/og/og.module).

Comments

enricpera’s picture

hi,
I made these changes and the error has disappeared.
I hope that someone can help

elms_site.module line 64

function _elms_site_admin_access() {
  $group_type = ELMS_GROUP_TYPE;
  $gid = arg(1);
  return (og_user_access($group_type, $gid, 'administer group') || user_access('administer site configuration'));
}

and elms_user_management.module line 63

function _elms_user_management_admin_access() {
  $group_type = ELMS_GROUP_TYPE;
  $gid = arg(1);
  return (og_user_access($group_type, $gid, 'administer group') || user_access('administer site configuration'));
}

enric

btopro’s picture

I'll accept patches against the 7 branch but user management is kind of worthless in D7 thanks to how good OG 7.x-2.x is shaping up to be. Also the site admin access portion will probably go as well because of the sophistication of OG.

btopro’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)