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

sfyn’s picture

Status: Needs review » Needs work

No patch here...

sfyn’s picture

Status: Needs work » Fixed

OK, nevermind, I found your commit and pushed it, here's a link:

https://github.com/sfyn/uc_hosting/commit/82e993f557220d93cd22a95587a451...

Status: Fixed » Closed (fixed)

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