Hey Daniel,

I'm using the latest -dev version and just noticed that I'm getting the following warnings on nodes where the node's content type does not have any user reference fields assigned. Here are the warnings I'm getting:

Warning: Invalid argument supplied for foreach() in nodeaccess_userreference_node_access_records() (line 227 of /Users/benkaplan/git/commerce_quickstart12/sites/all/modules/contrib/nodeaccess_userreference/nodeaccess_userreference.module).

Warning: Invalid argument supplied for foreach() in nodeaccess_userreference_node_access() (line 284 of /Users/benkaplan/git/commerce_quickstart12/sites/all/modules/contrib/nodeaccess_userreference/nodeaccess_userreference.module).

Thanks,
Ben

Comments

danielb’s picture

Status: Active » Fixed

fixed

BenK’s picture

Thanks! It's working great and all warnings are gone. :-)

--Ben

Status: Fixed » Closed (fixed)

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