diff --git a/htdocs/comm/action/index.php3 b/htdocs/comm/action/index.php3 index 7dd9fb66c91..91981e56b45 100644 --- a/htdocs/comm/action/index.php3 +++ b/htdocs/comm/action/index.php3 @@ -133,7 +133,7 @@ if ($socid) $societe = new Societe($db); $societe->fetch($socid); - $sql = "SELECT a.id,".$db->pdate("a.datea")." as da, c.libelle, u.code, a.note, u.name, u.firstname "; + $sql = "SELECT a.id,".$db->pdate("a.datea")." as da, c.libelle, u.code, a.note, u.name, u.firstname, a.fk_contact "; $sql .= " FROM llx_actioncomm as a, c_actioncomm as c, llx_user as u"; $sql .= " WHERE a.fk_soc = $socid AND c.id=a.fk_action AND a.fk_user_author = u.rowid"; @@ -154,6 +154,7 @@ if ($socid) print '