diff --git a/htdocs/contact/index.php b/htdocs/contact/index.php
index 48beb2623e7..24a8f0db64c 100644
--- a/htdocs/contact/index.php
+++ b/htdocs/contact/index.php
@@ -19,11 +19,11 @@
*/
/**
- \file htdocs/contact/index.php
- \ingroup societe
- \brief Page liste des contacts
- \version $Id$
-*/
+ * \file htdocs/contact/index.php
+ * \ingroup societe
+ * \brief Page liste des contacts
+ * \version $Id$
+ */
require("./pre.inc.php");
require_once(DOL_DOCUMENT_ROOT."/contact.class.php");
@@ -288,7 +288,7 @@ if ($result)
print "
";
// Name
- print '| ';
+ print ' | ';
$contactstatic->name=$obj->name;
$contactstatic->firstname='';
$contactstatic->id=$obj->cidp;
@@ -324,7 +324,8 @@ if ($result)
}
else
{
- print ' | '.dol_print_email($obj->email,$obj->cidp,$obj->socid,'AC_EMAIL').' | ';
+ // EMail
+ print ''.dol_print_email($obj->email,$obj->cidp,$obj->socid,'AC_EMAIL',18).' | ';
}
// Date
@@ -343,12 +344,12 @@ if ($result)
$i++;
}
- if ($num > $limit) print_barre_liste('' ,$page, "index.php", '&begin='.$begin.'&view='.$_GET["view"].'&userid='.$_GET["userid"], $sortfield, $sortorder,'',$num,$nbtotalofrecords, '');
-
print "";
print '';
+ if ($num > $limit) print_barre_liste('' ,$page, "index.php", '&begin='.$begin.'&view='.$_GET["view"].'&userid='.$_GET["userid"], $sortfield, $sortorder,'',$num,$nbtotalofrecords, '');
+
$db->free($result);
}
else