summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-core/luasrc/tools/webadmin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-core/luasrc/tools/webadmin.lua b/modules/admin-core/luasrc/tools/webadmin.lua
index fe725d42df..1fda11eeaf 100644
--- a/modules/admin-core/luasrc/tools/webadmin.lua
+++ b/modules/admin-core/luasrc/tools/webadmin.lua
@@ -45,7 +45,7 @@ function date_format(secs)
end
if hour > 24 then
- days = math.floor(hours / 24)
+ days = math.floor(hour / 24)
hour = hour % 24
end