prevent php8 warnings in user model, re #2193

Merge request reports

Loading