commit | 2ec3a5e12f2095ae2cc341760a9c44acf353743e | [log] [tgz] |
---|---|---|
author | Derek Allard <derek.allard@ellislab.com> | Sun Mar 30 17:51:11 2008 +0000 |
committer | Derek Allard <derek.allard@ellislab.com> | Sun Mar 30 17:51:11 2008 +0000 |
tree | fe6471c5fab8c6402cf2817553c4cc4e9d0bdbdd | |
parent | f00992d66cab3efa8cbec8cc8623c4ea830cc5e3 [diff] [blame] |
Fixed a bug in link_tag() of the URL helper where a key was passed instead of a value.
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php index 4684d8e..3e15b44 100644 --- a/system/helpers/html_helper.php +++ b/system/helpers/html_helper.php
@@ -257,7 +257,7 @@ { foreach ($href as $k=>$v) { - if ($k == 'href' AND strpos($k, '://') === FALSE) + if ($k == 'href' AND strpos($v, '://') === FALSE) { if ($index_page === TRUE) {