CC-4229: Smart Playlist: refactor code
- done
This commit is contained in:
parent
92568db01f
commit
9fc5411895
9 changed files with 234 additions and 199 deletions
|
@ -95,7 +95,7 @@ class Application_Model_Datatables
|
|||
$r['length'] = $pl->getLength();
|
||||
} else if ($r['ftype'] == "block") {
|
||||
$bl = new Application_Model_Block($r['id']);
|
||||
$r['length'] = $bl->getFormattedLength();
|
||||
$r['length'] = $bl->getLength();
|
||||
}
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue