From 0367f9de2f87e1e63f74a2b50c4ab77c8c122e05 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 25 Jul 2008 10:19:44 +0000 Subject: Fixed another oopsy git-svn-id: https://code.elgg.org/elgg/trunk@1521 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/output/url.php') diff --git a/views/default/output/url.php b/views/default/output/url.php index 1a76e08bf..cdcca6646 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) || (substr_count($val, "https://") == 0)) { + if ((substr_count($val, "http://") == 0) && (substr_count($val, "https://") == 0)) { $val = "http://" . $val; } echo "{$val}"; -- cgit v1.2.3