aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/profilefields/type/type_date.php2
1 files changed, 1 insertions, 1 deletions
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;