1
0
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:
Joas Schilling
2013-06-10 14:44:49 +02:00
parent fcf3437338
commit 14ff1ef540

View File

@@ -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);