mirror of
https://github.com/flarum/core.git
synced 2025-10-17 17:56:14 +02:00
Fix column names
This commit is contained in:
@@ -380,7 +380,7 @@ class Discussion extends AbstractModel
|
||||
*/
|
||||
public function lastUser()
|
||||
{
|
||||
return $this->belongsTo(User::class, 'last_user_id');
|
||||
return $this->belongsTo(User::class, 'last_posted_user_id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user