Wrong "delete request" link in og_content_type_admin_block_details block
NickSI - October 1, 2009 - 10:39
| Project: | Content Type Administration by Organic Group |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
You should add user uid in order to make it work. Replace
$links[] = l(t('delete request'), "og/unsubscribe/$node->nid", array(), 'destination=og');with
$links[] = l(t('delete request'), "og/unsubscribe/$node->nid/$user->uid", array(), 'destination=og');