changeset 2955:f1030909eeb6

Check filter config in web.xml for String false to deactivate the GGInAFilter instead of "1". flys-client/trunk@4935 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Wed, 11 Jul 2012 12:34:26 +0000
parents b9433322fcaf
children d7f76f197d89
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/GGInAFilter.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Jul 11 12:04:25 2012 +0000
+++ b/flys-client/ChangeLog	Wed Jul 11 12:34:26 2012 +0000
@@ -1,3 +1,8 @@
+2012-07-11	Björn Ricks	<bjoern.ricks@intevation.de>
+	* src/main/java/de/intevation/flys/client/server/GGInAFilter.java:
+	  Check filter config in web.xml for String false to deactivate the
+	  GGInAFilter instead of "1".
+
 2012-07-11	Christian Lins <christian.lins@intevation.de>
 
 	Eclipse specific project files removed from SVN.
--- a/flys-client/src/main/java/de/intevation/flys/client/server/GGInAFilter.java	Wed Jul 11 12:04:25 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/GGInAFilter.java	Wed Jul 11 12:34:26 2012 +0000
@@ -38,7 +38,7 @@
     throws ServletException
     {
         String deactivate = config.getInitParameter("deactivate");
-        if (deactivate != null && deactivate.equals("1")) {
+        if (deactivate != null && deactivate.equalsIgnoreCase("true")) {
             this.deactivate = true;
         }
 

http://dive4elements.wald.intevation.org