aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-05-23 23:46:55 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-05-23 23:46:55 +0000
commitd2f1d9e8bc8f7584f9ad9bae133add937466343c (patch)
tree1cecc28ef5b5c8ce3e3faea35d8d1ed8f5c5d6cd /phpBB/includes/session.php
parent2a896ad2600f386b718383934bd7cd383a04ff5f (diff)
downloadforums-d2f1d9e8bc8f7584f9ad9bae133add937466343c.tar
forums-d2f1d9e8bc8f7584f9ad9bae133add937466343c.tar.gz
forums-d2f1d9e8bc8f7584f9ad9bae133add937466343c.tar.bz2
forums-d2f1d9e8bc8f7584f9ad9bae133add937466343c.tar.xz
forums-d2f1d9e8bc8f7584f9ad9bae133add937466343c.zip
Wasn't stripping slashes from the cookies ... that will account for some of the erroneous mark read, nothing changes issues. Add name="" to image generation ... for "on" event handlers, etc.
git-svn-id: file:///svn/phpbb/trunk@4052 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 22ed35752b..1fb3e88b70 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -498,7 +498,7 @@ class user extends session
$alt = (!empty($this->lang[$alt])) ? $this->lang[$alt] : '';
$width = ($width) ? 'width="' . $width . '" ' : '';
- $imgs[$img] = '<img src=' . str_replace('{LANG}', $this->img_lang, $this->theme[$img]) . ' ' . $width . 'alt="' . $alt . '" title="' . $alt . '" />';
+ $imgs[$img] = '<img src=' . str_replace('{LANG}', $this->img_lang, $this->theme[$img]) . ' ' . $width . 'alt="' . $alt . '" title="' . $alt . '" name="' . $img . '"/>';
}
return $imgs[$img];
}