fix views artistes
This commit is contained in:
parent
3ecd5c63e5
commit
c32786200a
@ -123,10 +123,10 @@ class Model_music extends CI_Model {
|
||||
|
||||
return array('album' => $albumDetails, 'songs' => $songs);
|
||||
}
|
||||
|
||||
|
||||
public function getArtistDetails($artistId) {
|
||||
// Get artist info
|
||||
$this->db->select('artist.name as artistName, artist.id, genre.name as genreName, artist.jpeg');
|
||||
$this->db->select('artist.name as artistName, artist.id, artist.jpeg');
|
||||
$this->db->from('artist');
|
||||
$this->db->where('artist.id', $artistId);
|
||||
$artistQuery = $this->db->get();
|
||||
|
Loading…
x
Reference in New Issue
Block a user