Fix typo'd variable
Cette révision appartient à :
Parent
e139f5e4db
révision
ba1f48b08c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
|
@ -12,7 +12,7 @@ import (
|
|||
|
||||
// ValidateForm : Check if a form is valid according to its tags
|
||||
func ValidateForm(form interface{}, mes *msg.Messages) {
|
||||
result, err := govalidator.ValidateStruct(post)
|
||||
result, err := govalidator.ValidateStruct(form)
|
||||
if err != nil {
|
||||
println("error: " + err.Error())
|
||||
}
|
||||
|
|
Référencer dans un nouveau ticket