diff --git a/htdocs/telephonie/contrat/fiche.php b/htdocs/telephonie/contrat/fiche.php index 9ba61df4072..586d91a9985 100644 --- a/htdocs/telephonie/contrat/fiche.php +++ b/htdocs/telephonie/contrat/fiche.php @@ -463,7 +463,7 @@ else require_once DOL_DOCUMENT_ROOT.'/telephonie/contrat/modules/'.$conf->global->TELEPHONIE_CONTRAT_PLUGIN.'.php'; $var = $conf->global->TELEPHONIE_CONTRAT_PLUGIN; $plugin = new $var; - if($plugin->tabs($h)) + if($plugin->tabs($head,$h)) $h++; else dolibarr_syslog("$var::tabs error");