diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-03-30 19:51:11 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-03-30 19:51:11 +0200 |
commit | 2ec3a5e12f2095ae2cc341760a9c44acf353743e (patch) | |
tree | fe6471c5fab8c6402cf2817553c4cc4e9d0bdbdd /system | |
parent | f00992d66cab3efa8cbec8cc8623c4ea830cc5e3 (diff) |
Fixed a bug in link_tag() of the URL helper where a key was passed instead of a value.
Diffstat (limited to 'system')
-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 4684d8ea8..3e15b4442 100644 --- a/system/helpers/html_helper.php +++ b/system/helpers/html_helper.php @@ -257,7 +257,7 @@ if (! function_exists('link_tag')) {
foreach ($href as $k=>$v)
{
- if ($k == 'href' AND strpos($k, '://') === FALSE)
+ if ($k == 'href' AND strpos($v, '://') === FALSE)
{
if ($index_page === TRUE)
{
|