fix views artistes
This commit is contained in:
		@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user