From 2e4c73ebc40278ecd28c37984f288f9605bc9c3c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 3 May 2013 10:06:54 +0200 Subject: [PATCH] Fix: Link to phone with tel: must be only onto terminal that support protocol "tel:" --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 70ad6de03d6..784762907d3 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1229,7 +1229,7 @@ function dol_print_phone($phone,$country='',$cid=0,$socid=0,$addlink='',$separ=" if (! empty($addlink)) // Link on phone number + link to add action (if conf->global->AGENDA_ADDACTIONFORPHONE set) { - if (! empty($conf->browser)) // If phone, we use link of phone + if (! empty($conf->browser->phone)) // If phone, we use link of phone { $newphone ='';