summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-17 10:51:56 +0000
committerSteven Barth <steven@midlink.org>2008-08-17 10:51:56 +0000
commit6d430930a3326d5ea1f92c46de5565dd05cd2030 (patch)
tree4b10d29c7a2ef59b683db0d78367dffffb807ec3 /modules
parent3e30400b63a132b0ad0430d21606729977fc1a5b (diff)
Fixed a typo
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 fe725d42d..1fda11eea 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