mirror of
https://github.com/flarum/core.git
synced 2025-10-20 03:06:07 +02:00
Fix some incorrect attribute names
This commit is contained in:
@@ -57,8 +57,8 @@ class UserState extends AbstractModel
|
||||
*/
|
||||
public function read($number)
|
||||
{
|
||||
if ($number > $this->last_read_at) {
|
||||
$this->last_read_at = $number;
|
||||
if ($number > $this->last_read_post_number) {
|
||||
$this->last_read_post_number = $number;
|
||||
$this->last_read_at = Carbon::now();
|
||||
|
||||
$this->raise(new UserRead($this));
|
||||
|
Reference in New Issue
Block a user