Skip to content

Commit

Permalink
Fixed [ bug #1595 ] Selected boolean extrafield in intervention creat…
Browse files Browse the repository at this point in the history
…ion page, does not save state
  • Loading branch information
marcosgdf committed Nov 23, 2014
1 parent 8cb1818 commit 7a272af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ChangeLog
Expand Up @@ -12,7 +12,8 @@ English Dolibarr ChangeLog
- Fix: Civility & birthdate wasn't save into adherent module.
- 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: [ 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.* *****
For users:
Expand Down
5 changes: 5 additions & 0 deletions htdocs/fichinter/fiche.php
Expand Up @@ -152,6 +152,11 @@

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->duree = GETPOST('duree','int');
$object->fk_project = GETPOST('projectid','int');
Expand Down

0 comments on commit 7a272af

Please sign in to comment.