Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

corrige le problème de la home de l'admin #1323

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

stakovicz
Copy link
Contributor

Dans le cas où il n'y a pas de prochain événement en base de données cette erreur apparaît sur la home de l'admin :

Capture d’écran 2023-10-17 à 21 17 08

Effectivement, $this->eventRepository->getNextEvents(); peut retourner null dans ce cas et le foreach n'est pas content.

J'ai ajouté le test && $nextevents pour corriger le problème.

@stakovicz stakovicz merged commit 71b6b8c into afup:master Oct 17, 2023
4 checks passed
@stakovicz stakovicz deleted the fix_admin_home branch November 23, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants