Using module_install for a subsite (sub.domain.org) I have an error:
Warning: Invalid argument supplied for foreach() in module_install_get_destination_directories() (regel 64 van /home/public_html/drupal-7/sites/all/modules/module_install/module_install.api.inc).

The module_install is in sites/all/modules
The sites/subdomain/modules folder is in the folder selection.

Comments

kriboogh’s picture

Assigned: Unassigned » kriboogh

Probably the glob function on your system returns an error (if so, it should say something in your access logs). I'll look into it, maybe rewrite that part without using glob. This is also the reason why you get the module folders listed.

kriboogh’s picture

Assigned: kriboogh » Unassigned
Status: Active » Closed (fixed)

Fixed in 7.x-1.1

Anonymous’s picture

Thanks for the fast fix. The Warning is gone. The extra module folders are still there, I wil reopen http://drupal.org/node/1993594 for that.