Skip to content

Commit

Permalink
UTime small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
misantron committed Mar 10, 2015
1 parent 97e2f31 commit 611de79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility/UTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static function secondsDiff($date1, $date2)
$seconds += $diff->h * 60 * 60;
}
if ($diff->i >= 1) {
$seconds += ($diff->i * 60);
$seconds += $diff->i * 60;
}
if ($diff->s >= 1) {
$seconds += $diff->s;
Expand Down

0 comments on commit 611de79

Please sign in to comment.