Upon installing the module, the first thing I did was to try and create an og smartqueue. I got this error:

warning: array_diff_key() [function.array-diff-key]: Argument #2 is not an array in /home/tom/workspace/wrightmedia.6/modules/smartqueue_og/smartqueue_og.module on line 141.

You should probably check that you have 2 arrays before you attempt to call array_diff_key

CommentFileSizeAuthor
#1 419290.patch1001 bytesezra-g

Comments

ezra-g’s picture

Status: Active » Needs review
StatusFileSize
new1001 bytes

Yes -- the return was on the wrong line in smartqueue_og_existing_subqueues(), so the array wasn't getting returned when there are no subqueues. Not the kind of welcome we want for this module!

The attached patch corrects this and also fixes a minor spacing issue.

Thanks!

ezra-g’s picture

Status: Needs review » Fixed

This is applied

Status: Fixed » Closed (fixed)

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