diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 15:43:10 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 15:43:10 -0400 |
commit | 75fe3b059325e9f94f17a62569c11f4398d24ac4 (patch) | |
tree | 539822430d81e65da332337e58d198f6461fffad /templates | |
parent | 50e4c54558b4e93091882344876e24ff0575a6e0 (diff) | |
download | ampache-75fe3b059325e9f94f17a62569c11f4398d24ac4.tar.gz ampache-75fe3b059325e9f94f17a62569c11f4398d24ac4.tar.bz2 ampache-75fe3b059325e9f94f17a62569c11f4398d24ac4.zip |
Fix issue with new time logic (erk)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_recently_played.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_recently_played.inc.php b/templates/show_recently_played.inc.php index a1b08604..f91f71de 100644 --- a/templates/show_recently_played.inc.php +++ b/templates/show_recently_played.inc.php @@ -59,7 +59,7 @@ show_box_top(_('Recently Played') . $link, 'box box_recently_played'); $unit = 'minutes'; } else if ($interval < 86400) { - $interval = floor($interval / 60); + $interval = floor($interval / 3600); $unit = 'hours'; } else if ($interval < 604800) { |