fix(template): use correct cache key

resolves #3244
This commit is contained in:
Jan De Dobbeleer 2022-12-25 20:40:23 +01:00 committed by Jan De Dobbeleer
parent 12cfa58240
commit be803c838b

View file

@ -690,7 +690,7 @@ func (env *Shell) Close() {
func (env *Shell) LoadTemplateCache() {
defer env.Trace(time.Now(), "LoadTemplateCache")
val, OK := env.fileCache.Get("template_cache_91508")
val, OK := env.fileCache.Get(TEMPLATECACHE)
if !OK {
return
}