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
Comment #1
agharbeia commentedYes, I confirm this as I've discovered #613606: refactoring and simplification suggesition it while working on the phone.module
Comment #2
thierry_gd commentedFixed in 6.2.10 release