joomla/joomla-platform — pull request #1404 by infograf768 (2012-07-24 15:35:52+00:00)
Title: Correct confusion between required and validate messages

When a field contains both a required and a validate element, we get a confusion for the error messages.
This patch takes element['message'] out of the required conditional as, in this case, the label or the name can be used for the error.
(Patch also ready for the CMS with fields and strings changes)