Browse files

Fixes #16917: Manage Configuration: Complex Type fails when array is …

…terminated with a semi-color.
  • Loading branch information...
1 parent a00ebde commit 2a02f88264d264490df75e8e9bfd4f9f11a82417 @vboctor vboctor committed Feb 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 adm_config_set.php
View
2 adm_config_set.php
@@ -142,7 +142,7 @@ function process_complex_value( $p_value, $p_trimquotes = false ) {
# Parsing regex initialization
if( is_null( $s_regex_array ) ) {
- $s_regex_array = '^array[\s]*\((.*)\)$';
+ $s_regex_array = '^array[\s]*\((.*)\)[;]*$';
$s_regex_string =
# unquoted string (word)
'[\w]+' . '|' .

0 comments on commit 2a02f88

Please sign in to comment.