I getting this warning when trying to unpublish nodes with empty attachments:
Warning: Invalid argument supplied for foreach() in apachesolr_attachments_field_attach_update() (line 473 of sites/all/modules/contrib/apachesolr_attachments/apachesolr_attachments.module).

Comments

sirko_el’s picture

Simple fix.

nick_vh’s picture

Status: Active » Reviewed & tested by the community

looks good

eminencehealthcare’s picture

Seems to have worked for me aswell. Although when patching through Git Bash, I did get "fatal: corrupt patch at line 30" .

nick_vh’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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