diff options
author | Igor Wiedler <igor@wiedler.ch> | 2011-02-13 18:33:15 +0100 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2011-02-13 18:33:15 +0100 |
commit | ecb29e6027ef0ef7c551f22745aa68e3f96d83ac (patch) | |
tree | 45617dc99aeba49a9a68d1bbcd35ec63583fe369 /phpBB/includes | |
parent | 42707053a2fed5c0157de13ebc2407fd80438aca (diff) | |
parent | c717e44094ce6d3b3ad4f56519b8f421ec06146e (diff) | |
download | forums-ecb29e6027ef0ef7c551f22745aa68e3f96d83ac.tar forums-ecb29e6027ef0ef7c551f22745aa68e3f96d83ac.tar.gz forums-ecb29e6027ef0ef7c551f22745aa68e3f96d83ac.tar.bz2 forums-ecb29e6027ef0ef7c551f22745aa68e3f96d83ac.tar.xz forums-ecb29e6027ef0ef7c551f22745aa68e3f96d83ac.zip |
Merge branch 'ticket/hammerhead/8904' into develop-olympus
* ticket/hammerhead/8904:
[ticket/8904] Show default value for numeric custom profile fields when editing
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php index 2288a0728b..2e43b0545a 100644 --- a/phpBB/includes/acp/acp_profile.php +++ b/phpBB/includes/acp/acp_profile.php @@ -512,7 +512,7 @@ class acp_profile else if ($field_type == FIELD_INT && $key == 'field_default_value') { // Permit an empty string - if (request_var('field_default_value', '') === '') + if ($action == 'create' && request_var('field_default_value', '') === '') { $var = ''; } |