unicorn commit: ~ fixed: check $messages existence

changeset:   1494:7fdf0d421975
tag:         tip
user:        Thomas Gambet <tgambet@w3.org>
date:        Thu Sep 16 16:28:19 2010 -0400
files:       WebContent/WEB-INF/resources/templates/text.vm
description:
~ fixed: check $messages existence


diff -r 4a6e703af958 -r 7fdf0d421975 WebContent/WEB-INF/resources/templates/text.vm
--- a/WebContent/WEB-INF/resources/templates/text.vm	Thu Sep 16 16:11:57 2010 -0400
+++ b/WebContent/WEB-INF/resources/templates/text.vm	Thu Sep 16 16:28:19 2010 -0400
@@ -1,4 +1,4 @@
-#if ($messages.size() > 0)
+#if ($messages && $messages.size() > 0)
 
 #if ($messages.hasError())
 $error_label

Received on Thursday, 16 September 2010 20:29:28 UTC