Révision d51f9c7d
Ajouté par Assos Assos il y a presque 6 ans
drupal7/sites/all/modules/addressfield/plugins/format/address.inc | ||
---|---|---|
240 | 240 |
if (in_array($address['country'], $countries_postal_code_after_locality)) { |
241 | 241 |
// Take the widget out of the array. |
242 | 242 |
$postal_code_widget = $format['locality_block']['postal_code']; |
243 |
$postal_code_widget['#prefix'] = ' '; |
|
243 |
|
|
244 |
// If the postal code not in its own row, add a separating space. |
|
245 |
if (empty($postal_code_widget['#tag'])) { |
|
246 |
$postal_code_widget['#prefix'] = ' '; |
|
247 |
} |
|
248 |
|
|
244 | 249 |
unset($format['locality_block']['postal_code']); |
245 | 250 |
|
246 | 251 |
// Add it back. |
Formats disponibles : Unified diff
Weekly update of contrib modules