New version
[songbook.git] / web / displayartist.php
index a99fb5e..1e40ccd 100644 (file)
@@ -24,9 +24,14 @@ $artist = $_REQUEST ["artist"];
 <div id="content">
 
 <?php
+global $songs;
+
 $artistsSongs = array();
 
+debug ("Processing songs");
+
 foreach ($songs as $song) {
+  debug ("Song: $song");
   $songArtist = getArtist ($song);
 
   if ($songArtist == $artist) {