Merge pull request #2077 from marcosgdf/3.6
Fixed [ bug #1595 ] Selected boolean extrafield in intervention creation page, does not save state
This commit is contained in:
commit
375d9aa336
@ -12,7 +12,8 @@ English Dolibarr ChangeLog
|
|||||||
- Fix: Civility & birthdate wasn't save into adherent module.
|
- Fix: Civility & birthdate wasn't save into adherent module.
|
||||||
- Fix: webservice Thirdparty parameter lastname for invidual creation is now lastname and not ref
|
- Fix: webservice Thirdparty parameter lastname for invidual creation is now lastname and not ref
|
||||||
- Fix: Chars - is no more allowed into value for code for extra fields.
|
- Fix: Chars - is no more allowed into value for code for extra fields.
|
||||||
( Fix: [ bug #1622 ] Requesting holiday than spans across two years cause high CPU usage by Apache
|
- Fix: [ bug #1622 ] Requesting holiday than spans across two years cause high CPU usage by Apache
|
||||||
|
- Fix: [ bug #1595 ] Selected boolean extrafield in intervention creation page, does not save state
|
||||||
|
|
||||||
***** ChangeLog for 3.6.1 compared to 3.6.* *****
|
***** ChangeLog for 3.6.1 compared to 3.6.* *****
|
||||||
For users:
|
For users:
|
||||||
|
|||||||
@ -152,6 +152,11 @@ else if ($action == 'confirm_modify' && $confirm == 'yes' && $user->rights->fich
|
|||||||
|
|
||||||
else if ($action == 'add' && $user->rights->ficheinter->creer)
|
else if ($action == 'add' && $user->rights->ficheinter->creer)
|
||||||
{
|
{
|
||||||
|
// Fill array 'array_options' with data from add form
|
||||||
|
$extralabels = $extrafields->fetch_name_optionals_label($object->table_element);
|
||||||
|
$ret = $extrafields->setOptionalsFromPost($extralabels, $object);
|
||||||
|
if ($ret < 0) $error ++;
|
||||||
|
|
||||||
$object->socid = $socid;
|
$object->socid = $socid;
|
||||||
$object->duree = GETPOST('duree','int');
|
$object->duree = GETPOST('duree','int');
|
||||||
$object->fk_project = GETPOST('projectid','int');
|
$object->fk_project = GETPOST('projectid','int');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user