Update html.formcontract.class.php
This commit is contained in:
parent
b0757916c4
commit
f4af9ec22f
@ -72,7 +72,7 @@ class FormContract
|
||||
else if ($conf->global->CONTRACT_ALLOW_TO_LINK_FROM_OTHER_COMPANY != 'all')
|
||||
{
|
||||
$sql.= " AND (c.fk_soc IN (".$socid.", ".$conf->global->CONTRACT_ALLOW_TO_LINK_FROM_OTHER_COMPANY.") ";
|
||||
$sql.= " OR p.fk_soc IS NULL)";
|
||||
$sql.= " OR c.fk_soc IS NULL)";
|
||||
}
|
||||
}
|
||||
if ($socid == 0) $sql.= " AND (c.fk_soc = 0 OR c.fk_soc IS NULL)";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user