diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-11-09 15:27:10 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-11-09 18:23:38 +0100 |
commit | d77455309b0edbcc65e4a347dc777542b1189328 (patch) | |
tree | c27e60622d16568d863cb2f0fa700bdb015014ca | |
parent | 5739317567f45895c8c9b5183c8db2886daf9872 (diff) | |
download | forums-d77455309b0edbcc65e4a347dc777542b1189328.tar forums-d77455309b0edbcc65e4a347dc777542b1189328.tar.gz forums-d77455309b0edbcc65e4a347dc777542b1189328.tar.bz2 forums-d77455309b0edbcc65e4a347dc777542b1189328.tar.xz forums-d77455309b0edbcc65e4a347dc777542b1189328.zip |
[ticket/14278] Check if user_id is set and fall back to ANONYMOUS
PHPBB3-14278
-rw-r--r-- | phpBB/phpbb/install/module/update_database/task/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/module/update_database/task/update.php b/phpBB/phpbb/install/module/update_database/task/update.php index 2d640134a3..84ec6f73f5 100644 --- a/phpBB/phpbb/install/module/update_database/task/update.php +++ b/phpBB/phpbb/install/module/update_database/task/update.php @@ -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, |