validateur validé
This commit is contained in:
@@ -46,7 +46,7 @@ class Chansons extends CI_Controller {
|
||||
|
||||
if ($this->form_validation->run() == FALSE){
|
||||
$this->load->view('layout/header');
|
||||
$this->load->view('addSongtoplaylist', ["playlists" => $playlists]);
|
||||
$this->load->view('addSongtoplaylist', ["id" => $id, "playlists" => $playlists]);
|
||||
$this->load->view('layout/footer');
|
||||
}else{
|
||||
$playlistId = $this->input->post('playlist_id');
|
||||
@@ -62,7 +62,7 @@ class Chansons extends CI_Controller {
|
||||
|
||||
if ($this->form_validation->run() == FALSE){
|
||||
$this->load->view('layout/header');
|
||||
$this->load->view('deleteSongtoplaylist', ["playlists" => $playlists]);
|
||||
$this->load->view('deleteSongtoplaylist', ["id" => $id, "playlists" => $playlists]);
|
||||
$this->load->view('layout/footer');
|
||||
}else{
|
||||
$playlistId = $this->input->post('playlist_id');
|
||||
|
||||
Reference in New Issue
Block a user