diff options
-rwxr-xr-x | indra/newview/llpanelgrouplandmoney.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/indra/newview/llpanelgrouplandmoney.cpp b/indra/newview/llpanelgrouplandmoney.cpp index e7002395f8..2f7c44f899 100755 --- a/indra/newview/llpanelgrouplandmoney.cpp +++ b/indra/newview/llpanelgrouplandmoney.cpp @@ -428,10 +428,18 @@ void LLPanelGroupLandMoney::impl::processGroupLand(LLMessageSystem* msg) S32 committed = 0; S32 billable_area = 0; - for(S32 i = first_block; i < count; ++i) + + if(count == 1) + { + msg->getS32("QueryData", "BillableArea", committed, 0); + } + else { - msg->getS32("QueryData", "BillableArea", billable_area, i); - committed+=billable_area; + for(S32 i = first_block; i < count; ++i) + { + msg->getS32("QueryData", "BillableArea", billable_area, i); + committed+=billable_area; + } } S32 total_contribution; |