1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-23 21:50:18 +00:00

Merge pull request #2406 from xqbumu/patch-1

fix the bug to prevent rewrite t
This commit is contained in:
astaxie
2017-02-07 11:07:37 +08:00
committed by GitHub

View File

@ -224,7 +224,7 @@ func getTplDeep(root, file, parent string, t *template.Template) (*template.Temp
if !HasTemplateExt(m[1]) {
continue
}
t, _, err = getTplDeep(root, m[1], file, t)
_, _, err = getTplDeep(root, m[1], file, t)
if err != nil {
return nil, [][]string{}, err
}