Skip to content
Snippets Groups Projects

hotline #159109 : fix CVS audio tracks detection

Merged Patrick Barroca requested to merge hotline#159109_extraits_sonores_856_ko into master
All threads resolved!
Compare and Show latest version
12 files
+ 318
525
Preferences
Compare changes
Files
12
@@ -589,9 +589,7 @@ class NoticeAjaxController extends ZendAfi_Controller_Action {
public function tracksAction() {
session_write_close();
$tracks = (new Intonation_Library_Tracks)
->setModel($this->notice)
->collection();
$tracks = (new Intonation_Library_Tracks($this->notice))->collection();
$this->_ajaxResponseWithScript($this->view->renderTracks($tracks));
}
@@ -600,9 +598,7 @@ class NoticeAjaxController extends ZendAfi_Controller_Action {
public function mediaAction() {
session_write_close();
$tracks = (new Intonation_Library_Tracks)
->setModel($this->notice)
->collection();
$tracks = (new Intonation_Library_Tracks($this->notice))->collection();
$trailers = (new Intonation_Library_Trailers)
->setModel($this->notice)