mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
fix session problems for those using mysql in strict mode and users having a browser agent string > 150 characters.
git-svn-id: file:///svn/phpbb/trunk@7956 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -567,7 +567,7 @@ class session
|
||||
'session_start' => (int) $this->time_now,
|
||||
'session_last_visit' => (int) $this->data['session_last_visit'],
|
||||
'session_time' => (int) $this->time_now,
|
||||
'session_browser' => (string) $this->browser,
|
||||
'session_browser' => (string) substr($this->browser, 0, 149),
|
||||
'session_forwarded_for' => (string) $this->forwarded_for,
|
||||
'session_ip' => (string) $this->ip,
|
||||
'session_autologin' => ($session_autologin) ? 1 : 0,
|
||||
|
Reference in New Issue
Block a user