mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'bantu/ticket/12056' into develop-olympus
* bantu/ticket/12056: [ticket/12056] Fix failure due to "Creating default object from empty value".
This commit is contained in:
commit
0e93c2516c
1 changed files with 2 additions and 1 deletions
|
@ -22,8 +22,9 @@ class phpbb_functions_obtain_online_test extends phpbb_database_test_case
|
|||
{
|
||||
parent::setUp();
|
||||
|
||||
global $config, $db;
|
||||
global $config, $db, $user;
|
||||
|
||||
$user = new StdClass;
|
||||
$db = $this->db = $this->new_dbal();
|
||||
$config = array(
|
||||
'load_online_time' => 5,
|
||||
|
|
Loading…
Add table
Reference in a new issue