FIX missing "enabled" value of extrafield after update
This commit is contained in:
parent
6976471988
commit
bd8faae9c1
@ -338,7 +338,7 @@ if ($action == 'update')
|
||||
GETPOST('computed_value', 'alpha'),
|
||||
(GETPOST('entitycurrentorall', 'alpha') ? 0 : ''),
|
||||
GETPOST('langfile'),
|
||||
1,
|
||||
GETPOST('enabled', 'alpha'),
|
||||
(GETPOST('totalizable', 'alpha') ? 1 : 0),
|
||||
GETPOST('printable', 'alpha')
|
||||
);
|
||||
|
||||
@ -145,6 +145,7 @@ $listofexamplesforlink = 'Societe:societe/class/societe.class.php<br>Contact:con
|
||||
<input type="hidden" name="attrname" value="<?php echo $attrname; ?>">
|
||||
<input type="hidden" name="action" value="update">
|
||||
<input type="hidden" name="rowid" value="<?php echo $rowid ?>">
|
||||
<input type="hidden" name="enabled" value="<?php echo $extrafields->attributes[$elementtype]['enabled'][$attrname]; ?>">
|
||||
|
||||
<?php print dol_get_fiche_head(); ?>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user