diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php
index 0d79a403da7..99cf4f80244 100644
--- a/htdocs/comm/prospect/fiche.php
+++ b/htdocs/comm/prospect/fiche.php
@@ -483,15 +483,15 @@ if ($socid > 0)
print '
| ';
// Action
- print '';
+ print ' | ';
$actionstatic->code=$obj->acode;
- $actionstatic->libelle=$obj->libelle;
- $actionstatic->id=$obj->id;
- print ' | '.$actionstatic->getNomUrl(1,16).' | ';
+ $actionstatic->libelle=$obj->libelle;
+ $actionstatic->id=$obj->id;
+ print ''.$actionstatic->getNomUrl(1,16).' | ';
print '';
print '';
- if ($obj->propalrowid)
+ if ($conf->propal->enabled && $obj->propalrowid)
{
print ''.img_object($langs->trans("ShowPropal"),"propal");
print $langs->trans("Propal");
|