Hi,

when upgrading 2.5 from I got this warning (I attach screenshot)

warning: array_filter() [function.array-filter]: The first argument should be an array in /var/www/internal/sites/all/modules/cck/modules/userreference/userreference.install on line 131.

However, the fieldgroups seem to work find.

Should I worry?

CommentFileSizeAuthor
picture_6.png135.8 KBleo.ruffini
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

markus_petrux’s picture

Title: warning: array_filter() [function.array-filter]: The first argument should be an array » warning: array_filter() [function.array-filter]: The first argument should be an array in userreference_update_6002()
Version: 6.x-3.x-dev » 6.x-2.x-dev
Status: Active » Fixed

Nope. This PHP notice should have not altered the result. Anyway, this is now fixed in CVS. Thanks for reporting. :)

Still, if you want to check. This is the option to filter allowed values by user status in user reference fields.

More information about this update can be found here: #416134: Userreference, impossible to filter allowed values by blocked users

leo.ruffini’s picture

Thank you for the quick answer.... and for building up this useful upgrade for CCK!

Leo

Status: Fixed » Closed (fixed)

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