From 8821bae1a957912874fe601fe325f6ab102c0f8a Mon Sep 17 00:00:00 2001 From: stiti Date: Tue, 18 Jun 2024 18:40:41 +0200 Subject: [PATCH] Modifs final avant soutenances --- CodeIgniter-3.1.13/application/models/Model_music.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeIgniter-3.1.13/application/models/Model_music.php b/CodeIgniter-3.1.13/application/models/Model_music.php index 19be9db..fba63f4 100644 --- a/CodeIgniter-3.1.13/application/models/Model_music.php +++ b/CodeIgniter-3.1.13/application/models/Model_music.php @@ -295,7 +295,7 @@ class Model_music extends CI_Model { } public function get_songs_by_artist($artist_id) { - $this->db->select('song.id as song_id'); + $this->db->select('song.*'); $this->db->from('track'); $this->db->join('song', 'track.songid = song.id'); $this->db->join('album', 'track.albumid = album.id');