[FIX] extrafield with visibility '5' update bug

When using a visibility = 5 (not editable extrafield, but visible on card and list), updating the object will result in an empty value in database for this extrafield.
This commit is contained in:
jyhere
2023-02-13 10:37:36 +01:00
committed by GitHub
parent ec45afb05f
commit a34703532f

View File

@@ -2114,7 +2114,7 @@ class ExtraFields
) {
continue;
}
if (empty($visibility)) {
if (empty($visibility) || $visibility == 5) {
continue;
}
if (empty($perms)) {