problème résolu
This commit is contained in:
@@ -66,7 +66,6 @@ class Albums extends CI_Controller {
|
||||
$this->load->view('layout/footer');
|
||||
}else{
|
||||
$playlistId = $this->input->post('playlist_id');
|
||||
$page = $this->input->get('page');
|
||||
$this->model_music->AddAlbumtoPlaylist($playlistId,$id);
|
||||
redirect('albums');
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ class Artistes extends CI_Controller {
|
||||
$order = $this->input->get('order');
|
||||
|
||||
if ($recherche=filter_input(INPUT_GET,'recherche') == false or $recherche=filter_input(INPUT_GET,'recherche') == null){
|
||||
$artistes = $this->model_music->getArtistes();
|
||||
$artistes = $this->model_music->get_filtered_artistes($genre, $sort, $order);
|
||||
$data['artistes'] = $artistes;
|
||||
}else{
|
||||
@@ -26,7 +25,6 @@ class Artistes extends CI_Controller {
|
||||
if ($artistes == false){
|
||||
$page = preg_split('/[\/]/',$_SERVER['REQUEST_URI']);
|
||||
$this->load->view('error',['page'=>$page[count($page)-1]]);
|
||||
$artistes = $this->model_music->getArtistes();
|
||||
$artistes = $this->model_music->get_filtered_artistes($genre, $sort, $order);
|
||||
$data['artistes'] = $artistes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user