diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php index ebc167ae6d6..9bbb684e831 100644 --- a/htdocs/contact/class/contact.class.php +++ b/htdocs/contact/class/contact.class.php @@ -918,7 +918,7 @@ class Contact extends CommonObject $result=''; $label = '' . $langs->trans("ShowContact") . ''; $label.= '
' . $langs->trans("Name") . ': '.$this->getFullName($langs); - //if ($this->cibility_id) $label.= '
' . $langs->trans("Civility") . ': '.$this->civility_id; // TODO Translate cibilty_id code + //if ($this->civility_id) $label.= '
' . $langs->trans("Civility") . ': '.$this->civility_id; // TODO Translate cibilty_id code $label.= '
' . $langs->trans("Poste") . ': '.$this->poste; $label.= '
' . $langs->trans("EMail") . ': '.$this->email; $label.= '
' . $langs->trans("Phone") . ': '.join(', ',array($this->phone_pro,$this->phone_mobile,$this->phone_perso)); diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index e4098332e64..cb0e01b4bcb 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -243,7 +243,7 @@ if (empty($reshook)) $object->particulier = GETPOST("private"); $object->name = dolGetFirstLastname(GETPOST('firstname','alpha'),GETPOST('name','alpha')); - $object->civility_id = GETPOST('civility_id'); // Note: cibility id is a code, not an int + $object->civility_id = GETPOST('civility_id'); // Note: civility id is a code, not an int // Add non official properties $object->name_bis = GETPOST('name','alpha'); $object->firstname = GETPOST('firstname','alpha'); @@ -995,7 +995,7 @@ else print ''.fieldLabel('FirstName','firstname').''; print ''; print ' '; - print ''.fieldLabel('UserTitle','cibility_id').''; + print ''.fieldLabel('UserTitle','civility_id').''; print $formcompany->select_civility($object->civility_id).''; print ' '; }