MantisBT: master-2.26 0de6dd21

Author Committer Branch Timestamp Parent
dregad dregad master-2.26 2024-01-31 06:19 master-2.26 9cdab1b1
Affected Issues  0033588: Creating an Configuration Option with complex array fails when number is negative
Changeset

Allow negative number when editing array config

Previously, attempting to set the option's value to array( -1, 0 )
would trigger APPLICATION ERROR 103: Cannot set configuration option
"due_date_warning_levels": Invalid token '-'.

Updating ConfigParser::process_array() to properly handle signed integer
values

Fixes 0033588

mod - core/classes/ConfigParser.class.php Diff File