diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index c38edb71365..518d3a02308 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -708,7 +708,8 @@ class Form
$i = 0;
if ($num)
{
- $contactstatic=new Contact($this->db);
+ include_once(DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php');
+ $contactstatic=new Contact($this->db);
while ($i < $num)
{