summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-05-17 11:29:51 +0200
committerAndrey Andreev <narf@devilix.net>2014-05-17 11:29:51 +0200
commit3d980ef57c4f5ff987788dcc8db0dfa420cf207d (patch)
treee9c7bd8a84dec42a8510621be467e1d6e59c8b04
parentdb6f5f1569951e470f95c8b9154f06c91d7efe8e (diff)
parent60f78b49763298454498e65f76ddf999f950fa69 (diff)
Merge pull request #3050 from emmanuelgrognet/develop
fix wrong if expression in link_tag
-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.'" ';
}