From d53011a6420eab9b32d55604272db02b3c238389 Mon Sep 17 00:00:00 2001 From: AndreyL ProductEngine Date: Mon, 24 Sep 2018 22:02:11 +0300 Subject: SL-9693 - About Land floater - Correct ban time conversion --- indra/newview/llfloaterland.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp index 2ecb6f21cd..5d97eebd9d 100644 --- a/indra/newview/llfloaterland.cpp +++ b/indra/newview/llfloaterland.cpp @@ -2513,10 +2513,10 @@ void LLPanelLandAccess::refresh() if (seconds >= 7200) { - args["[HOURS]"] = llformat("%d", (seconds / 7200)); + args["[HOURS]"] = llformat("%d", (seconds / 3600)); duration = parent_floater->getString("Hours", args); } - if (seconds >= 3600) + else if (seconds >= 3600) { duration = "1 " + parent_floater->getString("Hour"); } -- cgit v1.2.3