Revision: 7885
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7885&view=rev
Author:   dnaber
Date:     2012-08-19 15:36:11 +0000 (Sun, 19 Aug 2012)
Log Message:
-----------
avoid null pointer exception

Modified Paths:
--------------
    trunk/ltcommunity/grails-app/views/homepage/checkText.gsp

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 
"English".</p>
             </g:if>

This was sent by the SourceForge.net 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 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to