When an user visit their address book when they have no addresses, a foreach-warning is displayed. That's because in template_preprocess_uc_addresses_address_book(), the code tries to loop through $vars['other_addresses'] which does not exists when an user has no addresses.

Solution: initialize this variable at the beginning of the function.

A fix for this will come shortly.

Comments

megachriz’s picture

Status: Active » Fixed

The fix has been committed to the 6.x-2.x branch.

Status: Fixed » Closed (fixed)

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