X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=web%2Fdisplayset.php;h=854c98e084bb83094e724339b01849a2410fb1b6;hb=2fb943c1fddeea9cd48e8a8bb3af5ac38506e06f;hp=704f405d1ef0f1981ac58e06fcab6cefaac707e9;hpb=b1e6934458d077ee6524f0bc712f11df50b8907d;p=songbook.git diff --git a/web/displayset.php b/web/displayset.php index 704f405..854c98e 100644 --- a/web/displayset.php +++ b/web/displayset.php @@ -61,7 +61,9 @@ foreach (file("$songDir/$set") as $line) { print basename($song); } // if - $artist = getArtist ("$songDir/$song.pro"); + if ($artist == '') { + $artist = getArtist ("$songDir/$song.pro"); + } // if if ($artist != '') { print " - ";