You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 More fixes 🆙
This commit is contained in:
@@ -32,7 +32,7 @@ class WebsiteArticleReaction extends Model
|
||||
|
||||
static::creating(function ($model): void {
|
||||
/** @var WebsiteArticleReaction $model */
|
||||
$model->user_id = (int) (auth()->id() ?? 0);
|
||||
$model->user_id = max(0, (int) (auth()->id() ?? 0));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user