diff --git a/htdocs/contact/index.php b/htdocs/contact/index.php index b15b9b6cb4a83991c4a4cc4af49267fea0788a0e..d7b412d5eb988de3f0acba3eee59ee777cbd9b3c 100644 --- a/htdocs/contact/index.php +++ b/htdocs/contact/index.php @@ -115,7 +115,7 @@ $sql.= " WHERE 1=1 "; if ($_GET["userid"]) // statut commercial { - $sql .= " AND p.fk_user=".$_GET["userid"]; + $sql .= " AND p.fk_user_creat=".$_GET["userid"]; } if (!$user->rights->commercial->client->voir && !$socid) //restriction {