Commit fac721d2 by Trần Văn Minh

update cập nhập thông tin bài hát

parent 8199aa28
...@@ -46,7 +46,7 @@ class CmsTrack extends CI_Controller ...@@ -46,7 +46,7 @@ class CmsTrack extends CI_Controller
$this->load->view('backend/ajax/cms_track/list_track_view', $data); $this->load->view('backend/ajax/cms_track/list_track_view', $data);
} }
public function editTrack($contest_id, $id_user, $id_artist) public function editTrack($contest_id, $id_user = '', $id_artist = '')
{ {
$this->_data['contest'] = $contest = $this->track_model->getById($contest_id, $id_user, $id_artist); $this->_data['contest'] = $contest = $this->track_model->getById($contest_id, $id_user, $id_artist);
$this->_data['track_artists'] = $track_artists = $this->track_model->getByIdUser('track_artists', $id_artist); $this->_data['track_artists'] = $track_artists = $this->track_model->getByIdUser('track_artists', $id_artist);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment