mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 12:50:55 +00:00
fix the bug to prevent rewrite t
the t have paresed in line 212.
This commit is contained in:
parent
90999717dd
commit
e32d173b0d
@ -224,7 +224,7 @@ func getTplDeep(root, file, parent string, t *template.Template) (*template.Temp
|
|||||||
if !HasTemplateExt(m[1]) {
|
if !HasTemplateExt(m[1]) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
t, _, err = getTplDeep(root, m[1], file, t)
|
_, _, err = getTplDeep(root, m[1], file, t)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, [][]string{}, err
|
return nil, [][]string{}, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user