From f40f774b2e9b862e9dafa110db07ffe3ffaaccdf Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sat, 18 Jan 2014 13:28:17 +0100 Subject: [ticket/11201] Fix some variable names PHPBB3-11201 --- phpBB/phpbb/profilefields/type/type_date.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb') 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; -- cgit v1.2.1