Hi,
when I send an invitation to one of the request I get the following warning:
The first argument should be an array in sites/all/modules/requestinvitation/requestinvitation.module on line 246.
Even, when I resend, that warning appears!
Regards,
Tobi
Comments
Comment #1
DerTobi75 commentedComment #2
alphageekboy commentedI get the same error and see it repeated several times for just one invitation request.
Comment #3
mackh commentedsame for me, i commented out the
//$value = array_keys(array_filter($value));
line and it half works, except there is no checkbox rendered for the first invite...
Comment #4
EgonO commentedSame Problem here - any other hints than #3?! Cause i think commenting a line out is the wrong way to fix a/that bug :)
Comment #5
buddhika commentedI was out of touch for some time. Will look at this asap.
Comment #6
MartysMind commentedReplace line 246 with:
if (is_array($value) && isset($values['array_filter'])) {
$value = array_keys(array_filter($value));
}
Worked for me.
Comment #7
darclex commentedmartysmind comment#6 worked for me also
maybe should be considered a patch, or a fix... this is why this community rules
Comment #8
buddhika commentedThanks. I will add the fix.
Comment #9
buddhika commentedFix is added to the repo but still not made to a release. Let me know if there's any issue with the patch before a new release.
Comment #11
kangaroobin commenteddoes #6 work?