The very first function [ phone_nz_metadata() ] is missing a curly bracket after the close of the function.

/**
 * @file
 * CCK Field for New Zealand phone numbers.
 */

function phone_nz_metadata() {
  // These strings are translated using t() on output.
  return array(
    'label' => 'New Zealand Phone Numbers',
    'error' => '"%value" is not a valid New Zealand phone number!<br>New Zealand phone numbers should contain only only numbers, spaces, brackets and "-". They should look like 04 123 4567 or can optionally omit the leading 0 and have a prefix of "+64".',
  );
}  // <---- This needs to be added in the file.

Comments

agharbeia’s picture

Yes, I confirm this as I've discovered #613606: refactoring and simplification suggesition it while working on the phone.module

thierry_gd’s picture

Status: Active » Fixed

Fixed in 6.2.10 release

Status: Fixed » Closed (fixed)

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