Fixing style errors.

This commit is contained in:
stickler-ci 2023-02-05 10:48:29 +00:00
parent edb81d1955
commit d2a6d89fca

View File

@ -915,8 +915,7 @@ while ($currentdaytoshow < $lastdaytoshow) {
if ($usergroup > 0) { if ($usergroup > 0) {
$sql .= " AND ug.fk_usergroup = ".((int) $usergroup); $sql .= " AND ug.fk_usergroup = ".((int) $usergroup);
} }
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=" . $socid; $sql .= " AND fk_soc=" . $socid;
} }