dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11167
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3149: Fixed BUG: use actual cookieName in ContextUtils!
------------------------------------------------------------
revno: 3149
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-03-24 10:05:12 +0100
message:
Fixed BUG: use actual cookieName in ContextUtils!
modified:
dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/util/ContextUtils.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/util/ContextUtils.java'
--- dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/util/ContextUtils.java 2011-03-24 08:59:43 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/util/ContextUtils.java 2011-03-24 09:05:12 +0000
@@ -144,7 +144,7 @@
for ( Cookie c : cookies )
{
- if ( c.getName().equalsIgnoreCase( "pageSize" ) )
+ if ( c.getName().equalsIgnoreCase( cookieName ) )
{
return c.getValue();
}