aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-xphpBB/ucp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 761bc41c9c..a9ab3bbf5b 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -312,7 +312,7 @@ switch ($mode)
foreach ($_COOKIE as $cookie_name => $cookie_data)
{
$cookie_name = str_replace($config['cookie_name'] . '_', '', $cookie_name);
- if (!strstr($cookie_name, '_poll'))
+ if (strpos($cookie_name, '_poll') === false)
{
$user->set_cookie($cookie_name, '', $set_time);
}