mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge pull request #4024 from marc1706/ticket/14278
[ticket/14278] Check if user_id is set and fall back to ANONYMOUS
This commit is contained in:
commit
024ec86181
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class update extends task_base
|
|||
{
|
||||
$this->log->add(
|
||||
'admin',
|
||||
$this->user->data['user_id'],
|
||||
(isset($this->user->data['user_id'])) ? $this->user->data['user_id'] : ANONYMOUS,
|
||||
$this->user->ip,
|
||||
'LOG_UPDATE_DATABASE',
|
||||
false,
|
||||
|
|
Loading…
Add table
Reference in a new issue