admin: Fix panic as map is nil
This commit is contained in:
parent
1ace4394b5
commit
89334ce57c
@ -407,6 +407,7 @@ func SyncExercices(i Importer, theme *fic.Theme, exceptions *CheckExceptions) (e
|
|||||||
if exercices, err := GetExercices(i, theme); err != nil {
|
if exercices, err := GetExercices(i, theme); err != nil {
|
||||||
errs = append(errs, err)
|
errs = append(errs, err)
|
||||||
} else {
|
} else {
|
||||||
|
exceptions_out = make(map[int]*CheckExceptions)
|
||||||
emap := map[string]int{}
|
emap := map[string]int{}
|
||||||
|
|
||||||
dmap, _ := buildDependancyMap(i, theme)
|
dmap, _ := buildDependancyMap(i, theme)
|
||||||
|
Loading…
Reference in New Issue
Block a user