From 07e62218630cef5ad0af8aefd90e2866774e53a4 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 27 Nov 2014 18:55:44 +0000 Subject: [PATCH] bugfix --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 050bc6f..6c12649 100755 --- a/index.php +++ b/index.php @@ -417,7 +417,7 @@ function human_time_since($time) ); foreach ($tokens as $unit => $text) { if ($timediff < $unit) continue; - $numberOfUnits = floor($timdiffe / $unit); + $numberOfUnits = floor($timediff / $unit); return $numberOfUnits.' '.$text.(($numberOfUnits>1)?'s':'').' ago'; } }