diff --git a/htdocs/contact/canvas/default/dao_contact_default.class.php b/htdocs/contact/canvas/default/dao_contact_default.class.php
deleted file mode 100644
index dbfab60e45d..00000000000
--- a/htdocs/contact/canvas/default/dao_contact_default.class.php
+++ /dev/null
@@ -1,42 +0,0 @@
-
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-/**
- * \file htdocs/contact/canvas/default/dao_contact_default.class.php
- * \ingroup thirdparty
- * \brief Fichier de la classe des contacts par defaut
- */
-
-/**
- * \class DaoContactDefault
- * \brief Classe permettant la gestion des contacts par defaut, cette classe surcharge la classe contact
- */
-class DaoContactDefault extends Contact
-{
- /**
- * Constructor
- *
- * @param DoliDB $DB Handler acces base de donnees
- */
- function DaoContactDefault($DB)
- {
- $this->db = $DB;
- }
-
-}
-
-?>
\ No newline at end of file
diff --git a/htdocs/contact/canvas/default/tpl/contactcard_create.tpl.php b/htdocs/contact/canvas/default/tpl/contactcard_create.tpl.php
index 78e03875100..4cbae520df1 100644
--- a/htdocs/contact/canvas/default/tpl/contactcard_create.tpl.php
+++ b/htdocs/contact/canvas/default/tpl/contactcard_create.tpl.php
@@ -22,6 +22,10 @@
control->tpl['title']);
+dol_htmloutput_errors((is_numeric($object->error)?'':$object->error),$object->errors);
+
+dol_htmloutput_errors((is_numeric($GLOBALS['error'])?'':$GLOBALS['error']),$GLOBALS['errors']);
+
dol_htmloutput_errors($this->control->tpl['error'],$this->control->tpl['errors']);
echo $this->control->tpl['ajax_selectcountry']; ?>
@@ -40,7 +44,7 @@ echo $this->control->tpl['ajax_selectcountry']; ?>