MantisBT: master-1.3.x b1173d80

Author Committer Branch Timestamp Parent
dregad dregad master-1.3.x 2016-06-16 15:56 master-1.3.x 9636642a
Affected Issues  0021124: Creating/setting config options using adm_config_report.php is partially broken
Changeset

Improve handling of empty values in adm_config_set.php

When processing an empty value, the code now evaluates the config type
as if user had selected 'default'; this ensures the proper case of
'empty' is used depending on the config being set (i.e. 0, '').

We also avoid calling the config parser in this case, because a simple
typecast is sufficient to process user input.

Fixes 0021124

mod - adm_config_set.php Diff File