admin: Fix panic as map is nil

This commit is contained in:
nemunaire 2023-07-24 23:37:44 +02:00
parent 1ace4394b5
commit 89334ce57c

View File

@ -407,6 +407,7 @@ func SyncExercices(i Importer, theme *fic.Theme, exceptions *CheckExceptions) (e
if exercices, err := GetExercices(i, theme); err != nil {
errs = append(errs, err)
} else {
exceptions_out = make(map[int]*CheckExceptions)
emap := map[string]int{}
dmap, _ := buildDependancyMap(i, theme)