Merge pull request #23892 from jyhere/jyhere-patch-extrafield-visibility-5

[FIX] extrafield with visibility '5' update bug
This commit is contained in:
Laurent Destailleur 2023-02-13 18:14:57 +01:00 committed by GitHub
commit 71cba40ab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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