It is valid to call addressfield_format_address_generate() without the $context parameter but if you do you get this error:

Notice: Undefined index: mode in addressfield_format_address_generate() (line 357 of /var/www/mirp/profiles/mirp/modules/contrib/addressfield/plugins/format/address.inc).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rooby’s picture

rooby’s picture

Status: Active » Needs review

Oops

andyg5000’s picture

rooby’s picture

Status: Needs review » Closed (duplicate)