mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
[ bug #1577 ] When creating new Private individual third, selected third type is ignored
This commit is contained in:
parent
ba70c1a08a
commit
afd631e6e3
|
|
@ -25,6 +25,7 @@ Fix: [ bug #1544 ] Can remove date from invoice.
|
|||
Fix: list event view lost type event filter.
|
||||
Fix: Add code save on create event.
|
||||
Fix: SQL injection.
|
||||
Fix: [ bug #1577 ] When creating new Private individual third, selected third type is ignored
|
||||
|
||||
***** ChangeLog for 3.5.4 compared to 3.5.3 *****
|
||||
Fix: Hide title of event when agenda module disabled.
|
||||
|
|
|
|||
|
|
@ -159,14 +159,7 @@ if (empty($reshook))
|
|||
|
||||
$object->forme_juridique_code = GETPOST('forme_juridique_code');
|
||||
$object->effectif_id = GETPOST('effectif_id');
|
||||
if (GETPOST("private") == 1)
|
||||
{
|
||||
$object->typent_id = dol_getIdFromCode($db,'TE_PRIVATE','c_typent');
|
||||
}
|
||||
else
|
||||
{
|
||||
$object->typent_id = GETPOST('typent_id');
|
||||
}
|
||||
$object->typent_id = GETPOST('typent_id');
|
||||
|
||||
$object->client = GETPOST('client');
|
||||
$object->fournisseur = GETPOST('fournisseur');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user