mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-10 11:31:26 +01:00
Update functions.lib.php
This commit is contained in:
committed by
GitHub
parent
b066431e0e
commit
008a54ea19
@@ -2451,7 +2451,7 @@ function dol_print_phone($phone, $countrycode = '', $cid = 0, $socid = 0, $addli
|
||||
{//Jamaïque
|
||||
if(dol_strlen($newphone) == 12)
|
||||
{//ex: +1867_ABC_DEFG
|
||||
$newphone = substr($newphone,0,5).$separ.substr($newphone,5,3).$separ.substr($newphone,8,4);
|
||||
$newphone = substr($newphone, 0, 5).$separ.substr($newphone, 5, 3).$separ.substr($newphone, 8, 4);
|
||||
}
|
||||
}
|
||||
elseif (strtoupper($countrycode) == "MG")
|
||||
|
||||
Reference in New Issue
Block a user