CC-2626: long numbers after the dot should be truncated
- fixed
This commit is contained in:
parent
dfb7ca69f6
commit
5124fa67d3
@ -285,6 +285,11 @@ class ScheduleController extends Zend_Controller_Action
|
||||
|
||||
$show = new ShowInstance($this->sched_sess->showInstanceId);
|
||||
$playlists = $show->searchPlaylistsForShow($post);
|
||||
foreach( $playlists['aaData'] as &$data){
|
||||
// calling two functions to format time to 1 decimal place
|
||||
$sec = Playlist::playlistTimeToSeconds($data[4]);
|
||||
$data[4] = Playlist::secondsToPlaylistTime($sec);
|
||||
}
|
||||
|
||||
//for datatables
|
||||
die(json_encode($playlists));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user