Auto commit for release 'develop' on 2024-04-18

This commit is contained in:
github-actions
2024-04-18 10:25:45 +02:00
parent 7788bb4b33
commit 6d970a9794
3 changed files with 7 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ class Preferences
}
return Preference::where('user_id', $user->id)
->where('name','!=','currencyPreference')
->where('name', '!=', 'currencyPreference')
->where(function (Builder $q) use ($user): void {
$q->whereNull('user_group_id');
$q->orWhere('user_group_id', $user->user_group_id);