mirror of
https://github.com/slawkens/myaac.git
synced 2026-02-06 13:16:22 +01:00
Fix migration 49.php when there is no session
This commit is contained in:
@@ -17,7 +17,7 @@ function insert_sample_if_not_exist($p): void
|
||||
$player->setData([
|
||||
'name' => $p['name'],
|
||||
'group_id' => 1,
|
||||
'account_id' => getSession('account'),
|
||||
'account_id' => getSession('account') ?? 1,
|
||||
'level' => $p['level'],
|
||||
'vocation' => $p['vocation_id'],
|
||||
'health' => $p['health'],
|
||||
|
||||
Reference in New Issue
Block a user