Upon installing module and having authenticated user join moderated OG group, the following PHP error appears in the logs:

Missing argument 4 for og_promote_og() in E:\inetpub\drupal\modules\og_promote\og_promote.module on line 24.

User was successfuly promoted to access level.

What is the significance of this error?

CommentFileSizeAuthor
#2 og_promote.patch449 bytesdarren oh

Comments

bwynants’s picture

happens when deleting a user from a group

change

function og_promote_og($op, $nid, $uid, $args) {

to

function og_promote_og($op, $nid, $uid, $args = array()) {

in og_promote.module

darren oh’s picture

Status: Active » Needs review
StatusFileSize
new449 bytes

Here's a patch.

darren oh’s picture

Status: Needs review » Fixed

Fixed in CVS commit 46285.

Anonymous’s picture

Status: Fixed » Closed (fixed)