W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2010

unicorn commit: ~ fixed: check $messages existence

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 16 Sep 2010 20:29:26 +0000
To: Unicorn Updates <www-validator-cvs@w3.org>
Message-Id: <E1OwL5C-0006eO-NI@blinky.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:44 UTC