diff --git a/htdocs/comm/people.php3 b/htdocs/comm/people.php3 index 6213b355b94..85b23b71abe 100644 --- a/htdocs/comm/people.php3 +++ b/htdocs/comm/people.php3 @@ -48,11 +48,8 @@ if ($action == 'add') if ($action == 'update') { if (strlen(trim($name)) + strlen(trim($firstname)) > 0) - { - + { $contact = new Contact($db); - - $contact->name = $name; $contact->firstname = $firstname; $contact->poste = $poste; @@ -101,14 +98,7 @@ if ($socid > 0) * * */ - print "
| idp\">$objsoc->nom | "; - print "Notes | "; - - print "[Ajouter un contact] | "; - print '