From 3a287c90554f3d672d2f460c8b2112535bca755c Mon Sep 17 00:00:00 2001 From: PatchRanger Date: Mon, 2 Sep 2013 15:57:14 +0700 Subject: [PATCH] Issue #1992300 by Staniel25, mxwitkowski, PatchRanger: Phone Extension field not being saved --- includes/phone.libphonenumber.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/phone.libphonenumber.inc b/includes/phone.libphonenumber.inc index 9f4ce39..0ba0e35 100644 --- a/includes/phone.libphonenumber.inc +++ b/includes/phone.libphonenumber.inc @@ -246,7 +246,7 @@ function phone_libphonenumber_clean($number, $countrycode, $extension) { // Get the parsed phone objects, preserving the alpha characers. // Also, don't initialise the extension, otherwise it will be included in // the output below, which is wrong. - list($phoneutil, $phonenumber) = _phone_libphonenumber($number, $countrycode, '', TRUE); + list($phoneutil, $phonenumber) = _phone_libphonenumber($number, $countrycode, $extension, TRUE); // Get the actual countrycode used, in case we didn't have one before, // and libphonenumber was able to detect one from a country code. -- 1.7.9.5