From 0f570e3ab35b9c5ab7c741acc59e2434e6cf620f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 9 Feb 2011 19:23:37 +0000 Subject: [PATCH] Extend capabilities of selectTypeContact --- htdocs/core/class/html.formcompany.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php index 9767de6c11d..8b87678a23b 100644 --- a/htdocs/core/class/html.formcompany.class.php +++ b/htdocs/core/class/html.formcompany.class.php @@ -601,10 +601,11 @@ class FormCompany /** * */ - function selectTypeContact($object, $defValue, $htmlname = 'type', $source, $order='code') + function selectTypeContact($object, $defValue, $htmlname = 'type', $source, $order='code', $showempty=0) { $lesTypes = $object->liste_type_contact($source, $order); print '