From a0e12ec100a1022a6e8fa255560707c5d5321fad Mon Sep 17 00:00:00 2001 From: Marjana Pesic Date: Fri, 6 Feb 2015 19:03:24 +0100 Subject: [PATCH] fix #666 . --- protected/modules_core/user/models/ProfileFieldTypeText.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protected/modules_core/user/models/ProfileFieldTypeText.php b/protected/modules_core/user/models/ProfileFieldTypeText.php index a7af566194..d88a515db5 100644 --- a/protected/modules_core/user/models/ProfileFieldTypeText.php +++ b/protected/modules_core/user/models/ProfileFieldTypeText.php @@ -180,7 +180,7 @@ public function getUserValue($user, $raw = true) { if (!$raw && $this->validator == self::VALIDATOR_EMAIL) { return HHtml::link($value, $value); } elseif (!$raw && $this->validator == self::VALIDATOR_URL) { - return HHtml::link($value, $value); + return HHtml::link($value, $value, array('target'=> '_blank')); } return $value;