This patch (made with "cvs diff" as per Drupal guidelines) fixes various "Invalid argument supplied for foreach()" warnings that clutter up the log.

CommentFileSizeAuthor
drush_mm.array-warning-fix.diff1.8 KBpillarsdotnet

Comments

clemens.tolboom’s picture

Thanks for the patch.

I was busy with #310898: Making module_enable and module_disable API functions where I solved the same problem. So I need to backport that one too.

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom
Status: Needs review » Fixed

@pillarsdotnet

I did a patch by hand. Did all your lines but not all you code.

Thanks and sorry for not immediate applying your patch. That #310898 is a long shot :-(

Anonymous’s picture

Status: Fixed » Closed (fixed)

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