Fixed a typo
authorSteven Barth <steven@midlink.org>
Sun, 17 Aug 2008 10:51:56 +0000 (10:51 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 17 Aug 2008 10:51:56 +0000 (10:51 +0000)
modules/admin-core/luasrc/tools/webadmin.lua

index fe725d42df906910d9d3991da4bc9f9f0799b509..1fda11eeaf432c46c5e2d9752c0b370e4e315611 100644 (file)
@@ -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