Hi,

Two issues solved in this patch:

1) incorrect function name renamed to "smartqueue_og_queue_access".
1) calling in_array() with one param doesn't make much sense. You wanted to check if a user is member of a specific og. So you check isset($acount->og_groups[gid].

CommentFileSizeAuthor
smartqueue_og_queue_access.patch1.08 KBTUc

Comments

TUc’s picture

If quoted the wrong function: this patch is concerned with the "smartqueue_og_subqueue_access" function.
"smartqueue_og_queue_access" will be dealt with in another patch...

ezra-g’s picture

Status: Needs review » Fixed

Committed. Thanks a ton!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.