Update functions.lib.php

syntax error $withpicto
This commit is contained in:
dolibarr95 2018-01-02 11:48:41 +01:00 committed by GitHub
parent e794a3b321
commit 3438cfb1e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2264,7 +2264,7 @@ function dol_print_phone($phone,$countrycode='',$cid=0,$socid=0,$addlink='',$sep
$rep='';
if ($hookmanager) {
$parameters = array('countrycode' => $countrycode, 'cid' => $cid, 'socid' => $socid,'titlealt' => $titlealt, 'picto' => $picto);
$parameters = array('countrycode' => $countrycode, 'cid' => $cid, 'socid' => $socid,'titlealt' => $titlealt, 'picto' => $withpicto);
$reshook = $hookmanager->executeHooks('printPhone', $parameters, $phone);
$rep.=$hookmanager->resPrint;
}