git-svn-id: file:///svn/phpbb/trunk@7727 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2007-06-08 08:51:47 +00:00
parent eaa6669010
commit b3554f02c5
2 changed files with 13 additions and 7 deletions

View file

@ -245,6 +245,7 @@ p a {
<li>[Fix] Make sure that a folder is used when viewing messages to oneself (Bug #12105)</li> <li>[Fix] Make sure that a folder is used when viewing messages to oneself (Bug #12105)</li>
<li>[Fix] Account for the fact that a board might have no visible Admins (Bug #12185)</li> <li>[Fix] Account for the fact that a board might have no visible Admins (Bug #12185)</li>
<li>[Fix] Change group ranks even if empty (Bug #12231)</li> <li>[Fix] Change group ranks even if empty (Bug #12231)</li>
<li>[Fix] Correctly propagate variables across the custom profile field wizard (Bug #12237)</li>
<li>[Fix] Correctly move pm's into folders if more than one is received (Bug #12135)</li> <li>[Fix] Correctly move pm's into folders if more than one is received (Bug #12135)</li>
</ul> </ul>

View file

@ -449,8 +449,7 @@ class acp_profile
// Get the number of options if this key is 'field_maxlen' // Get the number of options if this key is 'field_maxlen'
$var = sizeof(explode("\n", request_var('lang_options', '', true))); $var = sizeof(explode("\n", request_var('lang_options', '', true)));
} }
else if ($field_type == FIELD_TEXT && $key == 'field_length')
if ($field_type == FIELD_TEXT && $key == 'field_length')
{ {
if (isset($_REQUEST['rows'])) if (isset($_REQUEST['rows']))
{ {
@ -465,8 +464,7 @@ class acp_profile
$cp->vars['columns'] = $row_col[1]; $cp->vars['columns'] = $row_col[1];
} }
} }
else if ($field_type == FIELD_DATE && $key == 'field_default_value')
if ($field_type == FIELD_DATE && $key == 'field_default_value')
{ {
$always_now = request_var('always_now', 0); $always_now = request_var('always_now', 0);
@ -622,13 +620,20 @@ class acp_profile
foreach ($key_ary as $key) foreach ($key_ary as $key)
{ {
if (!isset($_REQUEST[$key])) if (!isset($cp->vars[$key]))
{ {
$var = false; if (!isset($_REQUEST[$key]))
{
$var = false;
}
else
{
$_new_key_ary[$key] = (is_array($_REQUEST[$key])) ? request_var($key, array(''), true) : request_var($key, '', true);
}
} }
else else
{ {
$_new_key_ary[$key] = (is_array($_REQUEST[$key])) ? request_var($key, array(''), true) : request_var($key, '', true); $_new_key_ary[$key] = $cp->vars[$key];
} }
} }