diff options
-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 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 "<a href=\"{$val}\" target=\"_blank\">{$val}</a>";
|