robfig/revel — pull request #194 by plroman (2013-06-26 11:49:12+00:00)
Title: Fix Validation.Error() not modifying Validation.Errors

Validation.Error() currently doesn't add an error to the Validation.Errors slice, which means that Validation.HasErrors() will not detect the error.

This simple portion of code fixes it.

Related post: https://groups.google.com/forum/?fromgroups#!topic/revel-framework/hw1wfFt4Ys0