From 9aef3528cb686e74525a81b9f488e8ec82ef393d Mon Sep 17 00:00:00 2001 From: Sebastien Plante Date: Thu, 29 Nov 2018 20:50:18 -0500 Subject: [PATCH] fixed a bug when over 60 hours played. --- class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/class.php b/class.php index f16275a..4f3698f 100644 --- a/class.php +++ b/class.php @@ -49,8 +49,7 @@ class ps4 { } if ($seconds/60 > 1) { $label .= "s"; } $playtime = round($seconds/60,2); - } else - if ($seconds/60/60 < 60) { + } else { if ($text == true) { $label = "hour"; }