From 79cccebc6e93e4e7f1231ad8797e8a94e3033a46 Mon Sep 17 00:00:00 2001 From: Shitiz Garg Date: Sun, 3 Aug 2014 18:25:08 +0530 Subject: [PATCH] [ticket/12910] Set get_name for Google+ fields PHPBB3-12910 --- phpBB/phpbb/profilefields/type/type_googleplus.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/phpBB/phpbb/profilefields/type/type_googleplus.php b/phpBB/phpbb/profilefields/type/type_googleplus.php index df1bcc7f4b..887baa3de1 100644 --- a/phpBB/phpbb/profilefields/type/type_googleplus.php +++ b/phpBB/phpbb/profilefields/type/type_googleplus.php @@ -15,6 +15,14 @@ namespace phpbb\profilefields\type; class type_googleplus extends type_string { + /** + * {@inheritDoc} + */ + public function get_name() + { + return $this->user->lang('FIELD_GOOGLEPLUS'); + } + /** * {@inheritDoc} */