diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-25 10:19:44 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-25 10:19:44 +0000 |
commit | 0367f9de2f87e1e63f74a2b50c4ab77c8c122e05 (patch) | |
tree | 52771f63045b8c30ab0e239fea2e96b2e7d63c36 | |
parent | 134a2dadde7373364916794c7aee7c1c029c0468 (diff) | |
download | elgg-0367f9de2f87e1e63f74a2b50c4ab77c8c122e05.tar.gz elgg-0367f9de2f87e1e63f74a2b50c4ab77c8c122e05.tar.bz2 |
Fixed another oopsy
git-svn-id: https://code.elgg.org/elgg/trunk@1521 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | views/default/output/url.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<a href=\"{$val}\" target=\"_blank\">{$val}</a>";
|