mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[ticket/11574] Create phpbb_log object before using it.
PHPBB3-11574
This commit is contained in:
@@ -509,6 +509,9 @@ class install_update extends module
|
||||
|
||||
if ($all_up_to_date)
|
||||
{
|
||||
global $phpbb_log, $phpbb_container;
|
||||
$phpbb_log = $phpbb_container->get('log');
|
||||
|
||||
// Add database update to log
|
||||
add_log('admin', 'LOG_UPDATE_PHPBB', $this->current_version, $this->update_to_version);
|
||||
|
||||
|
Reference in New Issue
Block a user