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