From 3f7ec5396822ec6f96d5bfd6adabaac70d215824 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Thu, 2 Aug 2007 19:20:28 +0000
Subject: [PATCH] Fix: changement fk_user en fk_user_creat

---
 htdocs/contact/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/contact/index.php b/htdocs/contact/index.php
index b15b9b6cb4a..d7b412d5eb9 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
 {
-- 
GitLab