CC-4204: Dynamic Smart Playlist: Set limit to 500 minutes and click Save will froze the Browser
- fixed
This commit is contained in:
parent
1bd94a0757
commit
19c90e6688
1 changed files with 6 additions and 1 deletions
|
@ -277,7 +277,12 @@ EOT;
|
|||
} else {
|
||||
$value = str_pad($value, 2, "0", STR_PAD_LEFT);
|
||||
if ($modifier == "minutes") {
|
||||
$length = "00:".$value.":00";
|
||||
$hour = "00";
|
||||
if ($value >59) {
|
||||
$hour = intval($value/60);
|
||||
$value = $value%60;
|
||||
}
|
||||
$length = $hour.":".$value.":00";
|
||||
} else if ($modifier == "hours") {
|
||||
$length = $value.":00:00";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue