Fixing style errors.
This commit is contained in:
parent
50b3c760dd
commit
89048ca52e
@ -130,8 +130,8 @@ if ($action == 'update' && !empty($permissiontoadd))
|
|||||||
}
|
}
|
||||||
elseif ($object->fields[$key]['type'] == 'boolean') {
|
elseif ($object->fields[$key]['type'] == 'boolean') {
|
||||||
if (!GETPOSTISSET($key)) {
|
if (!GETPOSTISSET($key)) {
|
||||||
$object->$key = 0; // use 0 instead null if the field is defined as not null
|
$object->$key = 0; // use 0 instead null if the field is defined as not null
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user