diff options
author | Emmanuel Grognet <emmanuel@grognet.fr> | 2014-05-16 08:25:15 +0200 |
---|---|---|
committer | Emmanuel Grognet <emmanuel@grognet.fr> | 2014-05-16 08:25:15 +0200 |
commit | 60f78b49763298454498e65f76ddf999f950fa69 (patch) | |
tree | d9347574cabbe5981ae75a6301b5fb7311c0aa7a /system/helpers/html_helper.php | |
parent | a9b993535de3277367a0d8a8cde28c76d9cd215f (diff) |
fix wrong if expression in link_tag
Diffstat (limited to 'system/helpers/html_helper.php')
-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.'" '; } |