mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-11 10:22:37 +01:00
FIX not create/update extrafields for visibility 0,2 and 5
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user