summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/helpers/html_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index d8c3e6d89..e8cef37b7 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -292,7 +292,7 @@ if ( ! function_exists('link_tag'))
}
else
{
- if ( ! preg_match('#^([a-z]+:)?//#i', $href))
+ if (preg_match('#^([a-z]+:)?//#i', $href))
{
$link .= 'href="'.$href.'" ';
}