Update peruser.php
This commit is contained in:
parent
a0f8a2454b
commit
b52203b4e0
@ -917,7 +917,7 @@ while ($currentdaytoshow < $lastdaytoshow) {
|
|||||||
}
|
}
|
||||||
if ($user->socid > 0) {
|
if ($user->socid > 0) {
|
||||||
// External users should see only contacts of their company
|
// External users should see only contacts of their company
|
||||||
$sql .= " AND fk_soc = ".((int) $user->socid);
|
$sql .= " AND u.fk_soc = ".((int) $user->socid);
|
||||||
}
|
}
|
||||||
|
|
||||||
//print $sql;
|
//print $sql;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user