From 7b8bf02f5845bd2ebcdd82dad2e811822e706493 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 24 Jul 2008 10:47:14 +0000 Subject: Support HTTPS git-svn-id: https://code.elgg.org/elgg/trunk@1509 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views') diff --git a/views/default/output/url.php b/views/default/output/url.php index b710bf512..1a76e08bf 100644 --- a/views/default/output/url.php +++ b/views/default/output/url.php @@ -17,7 +17,7 @@ $val = trim($vars['value']); if (!empty($val)) { - if (substr_count($val, "http://") == 0) { + if ((substr_count($val, "http://") == 0) || (substr_count($val, "https://") == 0)) { $val = "http://" . $val; } echo "{$val}"; -- cgit v1.2.3