Skip to content

Commit

Permalink
Fix #311 - savnig changes to the "divider before" option
Browse files Browse the repository at this point in the history
  • Loading branch information
tbar0970 committed Mar 20, 2017
1 parent e8ccf5e commit d2e911f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion db_objects/custom_field.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,10 @@ public static function printParamsSelect($prefix, $params)
public function processFieldInterface($fieldname, $prefix = '') {
switch ($fieldname) {
case 'allow_multiple':
$this->setValue('allow_multiple', !empty($_REQUEST[$prefix.$fieldname]));
case 'divider_before':
case 'show_add_family':
case 'searchable':
$this->setValue($fieldname, !empty($_REQUEST[$prefix.$fieldname]));
break;
case 'params':
$val = Array();
Expand Down

0 comments on commit d2e911f

Please sign in to comment.