mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
Subforums update take #1
git-svn-id: file:///svn/phpbb/trunk@3010 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -99,7 +99,7 @@ class session
|
||||
if ($u_ip == $s_ip)
|
||||
{
|
||||
// Only update session DB a minute or so after last update or if page changes
|
||||
if (($current_time - $this->data['session_time'] > 60 || $this->data['session_page'] != $user_page) && $update)
|
||||
if (($current_time - $this->data['session_time'] > 60 || $this->data['session_page'] != $this->page) && $update)
|
||||
{
|
||||
$sql = "UPDATE " . SESSIONS_TABLE . "
|
||||
SET session_time = $current_time, session_page = '$this->page'
|
||||
|
Reference in New Issue
Block a user