commit | 60f78b49763298454498e65f76ddf999f950fa69 | [log] [tgz] |
---|---|---|
author | Emmanuel Grognet <emmanuel@grognet.fr> | Fri May 16 08:25:15 2014 +0200 |
committer | Emmanuel Grognet <emmanuel@grognet.fr> | Fri May 16 08:25:15 2014 +0200 |
tree | d9347574cabbe5981ae75a6301b5fb7311c0aa7a | |
parent | a9b993535de3277367a0d8a8cde28c76d9cd215f [diff] |
fix wrong if expression in link_tag
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php index d8c3e6d..e8cef37 100644 --- a/system/helpers/html_helper.php +++ b/system/helpers/html_helper.php
@@ -292,7 +292,7 @@ } else { - if ( ! preg_match('#^([a-z]+:)?//#i', $href)) + if (preg_match('#^([a-z]+:)?//#i', $href)) { $link .= 'href="'.$href.'" '; }