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 fe725d4..1fda11e 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