fixed NPE (#608)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3486 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-06-19 18:49:48 +00:00
1 parent c88567a137
commit 33232052ca
1 file changed
+1 -1
@@ -65,7 +65,7 @@ public abstract class FormFieldValidator {
* can be used as <tt>ok()</tt>.
*/
public void error(String message) throws IOException, ServletException {
errorWithMarkup(Util.escape(message));
errorWithMarkup(message==null?null:Util.escape(message));
}
/**