Fix phpcs

This commit is contained in:
Laurent Destailleur 2021-12-08 18:37:07 +01:00
parent d4501a6f67
commit 8f7b222764

View File

@ -2070,7 +2070,7 @@ class ExtraFields
continue;
}
if (!empty($onlykey) && $onlykey == '@GETPOSTISSET' && !GETPOSTISSET('options_'.$key) && $this->attributes[$object->table_element]['type'][$key] != 'boolean') {
//when unticking boolean field, it's not set in POST
//when unticking boolean field, it's not set in POST
continue;
}