aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_profile.php
diff options
context:
space:
mode:
authorJim Wigginton <terrafrost@phpbb.com>2009-05-14 05:15:27 +0000
committerJim Wigginton <terrafrost@phpbb.com>2009-05-14 05:15:27 +0000
commitbf062c1cf5c141783e9d6832c694f753a1097962 (patch)
tree8ba41d2c420729ea2a8842df9ee0df18c26819df /phpBB/includes/acp/acp_profile.php
parent29cd21102d1f64483839762da8c213f4a401b3b0 (diff)
downloadforums-bf062c1cf5c141783e9d6832c694f753a1097962.tar
forums-bf062c1cf5c141783e9d6832c694f753a1097962.tar.gz
forums-bf062c1cf5c141783e9d6832c694f753a1097962.tar.bz2
forums-bf062c1cf5c141783e9d6832c694f753a1097962.tar.xz
forums-bf062c1cf5c141783e9d6832c694f753a1097962.zip
late fix for #44905
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9516 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_profile.php')
-rw-r--r--phpBB/includes/acp/acp_profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index 2b5ec88e5b..bbe36af9be 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -922,7 +922,7 @@ class acp_profile
case FIELD_TEXT:
case FIELD_STRING:
- if ($cp->vars['lang_default_value'])
+ if (strlen($cp->vars['lang_default_value']))
{
$options['lang_default_value'] = ($field_type == FIELD_STRING) ? 'string' : 'text';
}