Revision: 7885
Author:   dnaber
Date:     2012-08-19 15:36:11 +0000 (Sun, 19 Aug 2012)
Log Message:
avoid null pointer exception

Modified Paths:

Modified: trunk/ltcommunity/grails-app/views/homepage/checkText.gsp
--- trunk/ltcommunity/grails-app/views/homepage/checkText.gsp   2012-08-19 
15:17:12 UTC (rev 7884)
+++ trunk/ltcommunity/grails-app/views/homepage/checkText.gsp   2012-08-19 
15:36:11 UTC (rev 7885)
@@ -13,7 +13,7 @@
             <h1><g:message code="ltc.home.check.title"/></h1>
-            <g:if test="${language.hasVariant()}">
+            <g:if test="${language?.hasVariant()}">
                 <p class="warn"><b>Hint:</b> Note that spell checking will 
only work when you select a language
                     plus its variant,<br/>e.g. "English (US)" instead of just 

This was sent by the collaborative development platform, the 
world's largest Open Source development site.

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
Languagetool-cvs mailing list

Reply via email to