Merge pull request #25597 from hregis/fix_extrafield
FIX not create/update extrafields for visibility 0,2 and 5
This commit is contained in:
commit
eec2aabd50
1 changed files with 2 additions and 1 deletions
|
|
@ -2106,7 +2106,8 @@ class ExtraFields
|
|||
) {
|
||||
continue;
|
||||
}
|
||||
if (empty($visibility)) {
|
||||
// O: never visible, 2: visible only in list, 5: no creation, no update
|
||||
if (in_array($visibility, array(0, 2, 5))) {
|
||||
continue;
|
||||
}
|
||||
if (empty($perms)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue