From 3e42ded3051a74df91455e68c163fe0d95046b2c Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Fri, 6 Jan 2017 20:51:03 +0300 Subject: [PATCH] Point user links bug fixed. --- .../Bundle/PointToolsBundle/Twig/PointUserExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Twig/PointUserExtension.php b/src/Skobkin/Bundle/PointToolsBundle/Twig/PointUserExtension.php index 5338876..a8d5ee2 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Twig/PointUserExtension.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Twig/PointUserExtension.php @@ -70,7 +70,7 @@ class PointUserExtension extends \Twig_Extension */ public function pointUserUrl(string $login, bool $forceHttps = false): string { - return sprintf('%s//%s.%s/', $forceHttps ? 'https' : '', $login, self::POINT_HOST); + return sprintf('%s//%s.%s/', $forceHttps ? 'https:' : '', $login, self::POINT_HOST); } /** @@ -81,6 +81,6 @@ class PointUserExtension extends \Twig_Extension */ public function pointUserBlogUrl(string $login, bool $forceHttps = false): string { - return sprintf('%s//%s.%s/blog/', $forceHttps ? 'https' : '', $login, self::POINT_HOST); + return sprintf('%s//%s.%s/blog/', $forceHttps ? 'https:' : '', $login, self::POINT_HOST); } } \ No newline at end of file