Skip to content

Commit

Permalink
Update medal.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sempoi committed Mar 18, 2014
1 parent 1a06675 commit 4b6401a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Templates/Profile/medal.php
Expand Up @@ -33,6 +33,8 @@
$remainingHour = floor(($secondsDiff-($remainingDay*60*60))/3600);
$remainingMinutes = floor(($secondsDiff-($remainingDay*60*60)-($remainingHour*60*60))/60);
$remainingSeconds = floor(($secondsDiff-($remainingDay*60*60)-($remainingHour*60*60))-($remainingMinutes*60));

$nul1 = $nul2 = $nul3 = "0";
if(strlen($remainingSeconds) <= 1){
$nul1 = "0";}
if(strlen($remainingMinutes) <= 1){
Expand Down

0 comments on commit 4b6401a

Please sign in to comment.