CC-4669: Smart Blocks: Dynamic length of less than 1 hour shows 0.0
-fixed
This commit is contained in:
parent
6ef646124e
commit
a99191f4bd
1 changed files with 1 additions and 0 deletions
|
@ -323,6 +323,7 @@ SQL;
|
|||
$hour = "00";
|
||||
$mins = "00";
|
||||
if ($modifier == "minutes") {
|
||||
$mins = $value;
|
||||
if ($value >59) {
|
||||
$hour = intval($value/60);
|
||||
$mins = $value%60;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue