aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-01-07 14:08:47 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-01-07 14:08:47 +0000
commit3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294 (patch)
tree852dea56357815fb08de7a50de178149fcc9412d /phpBB/ucp.php
parent09ce0caad6cf62214b56387697afb9fb2f2cc4d8 (diff)
downloadforums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar.gz
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar.bz2
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar.xz
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.zip
- fix some convertor bugs.
- added support for the validated birthday mod and fixed the integration of nils' birthday mod git-svn-id: file:///svn/phpbb/trunk@6851 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-xphpBB/ucp.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 4568592081..db521af675 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -139,7 +139,9 @@ switch ($mode)
foreach ($_COOKIE as $cookie_name => $cookie_data)
{
$cookie_name = str_replace($config['cookie_name'] . '_', '', $cookie_name);
- if (strpos($cookie_name, '_poll') === false)
+
+ // Polls are stored as {cookie_name}_poll_{topic_id}, cookie_name_ got removed, therefore checking for poll_
+ if (strpos($cookie_name, 'poll_') !== 0)
{
$user->set_cookie($cookie_name, '', $set_time);
}