Merge pull request #2351 from mrsof/develop
FIX : Let ability to use IDPROF verifications even if new entry is "priv...
This commit is contained in:
commit
e7a82c89e6
@ -242,6 +242,9 @@ if (empty($reshook))
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check for duplicate or mandatory prof id
|
// Check for duplicate or mandatory prof id
|
||||||
|
// Only for companies
|
||||||
|
if (!($object->particulier || $private))
|
||||||
|
{
|
||||||
for ($i = 1; $i < 5; $i++)
|
for ($i = 1; $i < 5; $i++)
|
||||||
{
|
{
|
||||||
$slabel="idprof".$i;
|
$slabel="idprof".$i;
|
||||||
@ -268,6 +271,7 @@ if (empty($reshook))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user