diff --git a/htdocs/comm/contact.php b/htdocs/comm/contact.php index 778bf4160ef..0e9a30feea1 100644 --- a/htdocs/comm/contact.php +++ b/htdocs/comm/contact.php @@ -55,13 +55,16 @@ $offset = $limit * $page ; if ($type == "c") { - $label = " clients"; + $label = " clients"; + $urlfiche="fiche.php"; } if ($type == "p") { - $label = " prospects"; + $label = " prospects"; + $urlfiche="prospect/fiche.php"; } if ($type == "f") { - $label = " fournisseurs"; + $label = " fournisseurs"; + $urlfiche="fiche.php"; } @@ -137,7 +140,7 @@ if ($result) $sortorder="DESC"; } - print '
| '; print_liste_field_titre("Nom",$PHP_SELF,"lower(p.name)", $begin); print " | "; @@ -161,7 +164,7 @@ if ($result) print " | $obj->firstname | "; print ' ';
- print "idp\">$obj->nom | \n";
+ print "idp\">$obj->nom\n";
print ''.$obj->email.' | ';