Skip to content

Commit

Permalink
Visual separator/fieldset have no value. cot_config_update_options() fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex300 committed Jan 27, 2015
1 parent 46983f6 commit e327f9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system/configuration.php
Expand Up @@ -750,6 +750,10 @@ function cot_config_update_options($name, &$optionslist, $is_module=false, $chan
foreach ($optionslist as $key => $val)
{
$filter = 'NOC';

// Visual separator/fieldset have no value
if($val['config_type'] == COT_CONFIG_TYPE_SEPARATOR) continue;

if ($val['config_type'] == COT_CONFIG_TYPE_CUSTOM && $val['config_variants'])
{
if (preg_match('#^(\w+)\((.*?)\)$#', $val['config_variants'], $mt))
Expand Down

0 comments on commit e327f9b

Please sign in to comment.