mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix onlineTable relation, fixed online status in highscores
This commit is contained in:
parent
41c9f54e4b
commit
5769ac8bb4
@ -89,7 +89,7 @@ class Player extends Model {
|
|||||||
|
|
||||||
public function onlineTable()
|
public function onlineTable()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(PlayerOnline::class);
|
return $this->hasOne(PlayerOnline::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function account()
|
public function account()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user