Changeset 3253


Ignore:
Timestamp:
Apr 18, 2007, 10:38:58 PM (15 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #569: Home page display incorrect values for assigned primary quota

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.3/www/my_base/index.jsp

    r2978 r3253  
    261261    <%
    262262      long myPrimaryUsage = user.getDiskUsage(totalQuotaType, Location.PRIMARY);
    263       long myPrimaryQuota = quota.getQuotaValue(totalQuotaType, Location.SECONDARY);
     263      long myPrimaryQuota = quota.getQuotaValue(totalQuotaType, Location.PRIMARY);
    264264      long groupPrimaryQuota = groupQuota == null ? Quota.UNDEFINED : groupQuota.getQuotaValue(totalQuotaType, Location.PRIMARY);
    265265      long mySecondaryUsage = user.getDiskUsage(totalQuotaType, Location.SECONDARY);
     
    281281    {
    282282      myPrimaryUsage = user.getDiskUsage(qt, Location.PRIMARY);
    283       myPrimaryQuota = quota.getQuotaValue(qt, Location.SECONDARY);
     283      myPrimaryQuota = quota.getQuotaValue(qt, Location.PRIMARY);
    284284      groupPrimaryQuota = groupQuota == null ? Quota.UNDEFINED : groupQuota.getQuotaValue(qt, Location.PRIMARY);
    285285      mySecondaryUsage = user.getDiskUsage(qt, Location.SECONDARY);
Note: See TracChangeset for help on using the changeset viewer.