mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/14278] Check if user_id is set and fall back to ANONYMOUS
PHPBB3-14278
This commit is contained in:
@@ -172,7 +172,7 @@ class update extends task_base
|
|||||||
{
|
{
|
||||||
$this->log->add(
|
$this->log->add(
|
||||||
'admin',
|
'admin',
|
||||||
$this->user->data['user_id'],
|
(isset($this->user->data['user_id'])) ? $this->user->data['user_id'] : ANONYMOUS,
|
||||||
$this->user->ip,
|
$this->user->ip,
|
||||||
'LOG_UPDATE_DATABASE',
|
'LOG_UPDATE_DATABASE',
|
||||||
false,
|
false,
|
||||||
|
Reference in New Issue
Block a user