Fix: changement fk_user en fk_user_creat
This commit is contained in:
parent
59d2c0ff93
commit
3f7ec53968
@ -115,7 +115,7 @@ $sql.= " WHERE 1=1 ";
|
|||||||
|
|
||||||
if ($_GET["userid"]) // statut commercial
|
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
|
if (!$user->rights->commercial->client->voir && !$socid) //restriction
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user