From bf062c1cf5c141783e9d6832c694f753a1097962 Mon Sep 17 00:00:00 2001 From: Jim Wigginton Date: Thu, 14 May 2009 05:15:27 +0000 Subject: [PATCH] late fix for #44905 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9516 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }