1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-24 12:08:02 +02:00
git-svn-id: file:///svn/phpbb/trunk@7957 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2007-07-27 13:36:48 +00:00
parent 1393668c45
commit ecc8adf347

View File

@ -491,6 +491,11 @@ class acp_profile
list($cp->vars['field_default_value_day'], $cp->vars['field_default_value_month'], $cp->vars['field_default_value_year']) = explode('-', $var);
}
}
}
else if ($field_type == FIELD_BOOL && $key == 'field_default_value')
{
// Get the number of options if this key is 'field_maxlen'
$var = request_var('field_default_value', 0);
}
$cp->vars[$key] = $var;