Hello,
in verion 2.2.5
found some problem in
Forms -> Edit -> Fields ->
Field Type [File] -> Edit -> File Settings
-> Permitted File Types -> [uncheck]Use Default Value ->
write own value for example "jpg,jpeg" -> Save Changes
Refresh page and value in Permitted File Types is empty.
I think that a solution could be just to change the order of conditions
in the function ft_get_extended_field_settings [global/code/fields.php]
to
I hope that it will be useful.
in verion 2.2.5
found some problem in
Forms -> Edit -> Fields ->
Field Type [File] -> Edit -> File Settings
-> Permitted File Types -> [uncheck]Use Default Value ->
write own value for example "jpg,jpeg" -> Save Changes
Refresh page and value in Permitted File Types is empty.
I think that a solution could be just to change the order of conditions
in the function ft_get_extended_field_settings [global/code/fields.php]
to
PHP Code:
if ($convert_dynamic_values && $setting_value_type == "dynamic")
{
$parts = explode(",", $setting_value);
if (count($parts) == 2)
$setting_value = ft_get_settings($parts[0], $parts[1]);
}
if (array_key_exists($curr_setting_id, $custom_settings))
{
$uses_default = false;
$setting_value = $custom_settings[$curr_setting_id];
}
I hope that it will be useful.