On testing a new hosting product I get the following error when viewing the product page:
warning: Invalid argument supplied for foreach() in /home/aegir/hostmaster-0.4-beta1/sites/aegirtest.wedful.com/modules/custom/uc_hosting/products/uc_hosting_products.module on line 483
The line number is a few off because of some debug code I have at the moment. The attached patch should fix the warning message.
Comments
Comment #1
sfyn commentedNo patch here...
Comment #2
sfyn commentedOK, nevermind, I found your commit and pushed it, here's a link:
https://github.com/sfyn/uc_hosting/commit/82e993f557220d93cd22a95587a451...