Unverified Commit 1577e2fd authored by alesr's avatar alesr Committed by GitHub

Merge pull request #463 from jorrit/patch-4

Set bundle form value in group permissions form
parents 0c37d9e3 a360f53a
......@@ -720,6 +720,7 @@ function og_ui_admin_permissions($form, $form_state, $group_type = '', $gid = 0,
if ($gid) {
og_set_breadcrumb($group_type, $gid, array(l(t('Group'), "$group_type/$gid/group")));
list(, , $bundle) = entity_extract_ids($group_type, entity_load_single($group_type, $gid));
}
$form['group_type'] = array('#type' => 'value', '#value' => $group_type);
......
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