diff options
author | Andrey Andreev <narf@devilix.net> | 2014-05-17 11:29:51 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-05-17 11:29:51 +0200 |
commit | 3d980ef57c4f5ff987788dcc8db0dfa420cf207d (patch) | |
tree | e9c7bd8a84dec42a8510621be467e1d6e59c8b04 /system/helpers | |
parent | db6f5f1569951e470f95c8b9154f06c91d7efe8e (diff) | |
parent | 60f78b49763298454498e65f76ddf999f950fa69 (diff) |
Merge pull request #3050 from emmanuelgrognet/develop
fix wrong if expression in link_tag
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/html_helper.php | 2 |
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.'" '; } |