aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-01-18 13:28:17 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-01-18 13:28:17 +0100
commitf40f774b2e9b862e9dafa110db07ffe3ffaaccdf (patch)
treecf70cce993d106eac0ce9c074e96a9d9597c2d44 /phpBB
parentad8d4492a703f48997bfba51e962bd2fc91a3acc (diff)
downloadforums-f40f774b2e9b862e9dafa110db07ffe3ffaaccdf.tar
forums-f40f774b2e9b862e9dafa110db07ffe3ffaaccdf.tar.gz
forums-f40f774b2e9b862e9dafa110db07ffe3ffaaccdf.tar.bz2
forums-f40f774b2e9b862e9dafa110db07ffe3ffaaccdf.tar.xz
forums-f40f774b2e9b862e9dafa110db07ffe3ffaaccdf.zip
[ticket/11201] Fix some variable names
PHPBB3-11201
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_profile.php2
-rw-r--r--phpBB/phpbb/profilefields/type/type_date.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index d7a733eded..d588a34cec 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -971,7 +971,7 @@ class acp_profile
}
}
- $cp->vars = $profile_type->get_language_options_input($cp->vars);
+ $cp->vars = $profile_field->get_language_options_input($cp->vars);
if ($cp->vars['lang_options'])
{
diff --git a/phpBB/phpbb/profilefields/type/type_date.php b/phpBB/phpbb/profilefields/type/type_date.php
index f874ff33c3..335a63b3f4 100644
--- a/phpBB/phpbb/profilefields/type/type_date.php
+++ b/phpBB/phpbb/profilefields/type/type_date.php
@@ -203,7 +203,7 @@ class type_date extends type_base
return $this->user->create_datetime()
->setDate($year, $month, $day)
->setTime(0, 0, 0)
- ->format($user->lang['DATE_FORMAT'], true);
+ ->format($this->user->lang['DATE_FORMAT'], true);
}
return $field_value;