diff options
author | Chris Slamar <chris@slamar.org> | 2011-01-24 19:25:01 -0600 |
---|---|---|
committer | Chris Slamar <chris@slamar.org> | 2011-01-24 19:25:01 -0600 |
commit | 4910d13fa4623246db810347def57106dd85c9a9 (patch) | |
tree | 7b57a3c13f70572cde82bd343967dff33b331ae2 /templates/show_artists.inc.php | |
parent | fc355baf6764ffb87b74002b3a4419a63dab34b1 (diff) | |
download | ampache-4910d13fa4623246db810347def57106dd85c9a9.tar.gz ampache-4910d13fa4623246db810347def57106dd85c9a9.tar.bz2 ampache-4910d13fa4623246db810347def57106dd85c9a9.zip |
Catalog Filtering Added Bug#60
Diffstat (limited to 'templates/show_artists.inc.php')
-rw-r--r-- | templates/show_artists.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php index 85c079b8..9b197ba6 100644 --- a/templates/show_artists.inc.php +++ b/templates/show_artists.inc.php @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +session_start(); $web_path = Config::get('web_path'); @@ -49,7 +50,7 @@ if (Config::get('ratings')) { Rating::build_cache('artist',$object_ids); } /* Foreach through every artist that has been passed to us */ foreach ($object_ids as $artist_id) { - $artist = new Artist($artist_id); + $artist = new Artist($artist_id, $_SESSION['catalog']); $artist->format(); ?> <tr id="artist_<?php echo $artist->id; ?>" class="<?php echo flip_class(); ?>"> |