summaryrefslogtreecommitdiffstats
path: root/templates/show_edit_album_row.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_edit_album_row.inc.php')
-rw-r--r--templates/show_edit_album_row.inc.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/show_edit_album_row.inc.php b/templates/show_edit_album_row.inc.php
index b5fd8d6d..340fb685 100644
--- a/templates/show_edit_album_row.inc.php
+++ b/templates/show_edit_album_row.inc.php
@@ -26,7 +26,14 @@
<input type="textbox" name="name" value="<?php echo scrub_out($album->name); ?>" />
</td>
<td>
- <?php show_artist_pulldown($album->artist_id,'artist_id'); ?>
+ <?php
+ if ($album->artist_count == '1') {
+ show_artist_select('artist',$album->artist_id);
+ }
+ else {
+ echo _('Various');
+ }
+ ?>
</td>
<td>
<input type="textbox" name="year" value="<?php echo scrub_out($album->year); ?>" />