summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-03-30 19:51:11 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-03-30 19:51:11 +0200
commit2ec3a5e12f2095ae2cc341760a9c44acf353743e (patch)
treefe6471c5fab8c6402cf2817553c4cc4e9d0bdbdd /system
parentf00992d66cab3efa8cbec8cc8623c4ea830cc5e3 (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.php2
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)
{