diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2018-09-24 22:02:11 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2018-09-24 22:02:11 +0300 |
commit | d53011a6420eab9b32d55604272db02b3c238389 (patch) | |
tree | 611eac5d279746ca60b4ebbd8cbeb152985206f3 /indra/newview/llfloaterland.cpp | |
parent | b13b56af315b7041b81ca43985a9790a5a01e1bc (diff) |
SL-9693 - About Land floater - Correct ban time conversion
Diffstat (limited to 'indra/newview/llfloaterland.cpp')
-rw-r--r-- | indra/newview/llfloaterland.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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"); } |