diff options
Diffstat (limited to 'templates/show_album_art.inc.php')
-rw-r--r-- | templates/show_album_art.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/show_album_art.inc.php b/templates/show_album_art.inc.php index 0ce49909..373f662d 100644 --- a/templates/show_album_art.inc.php +++ b/templates/show_album_art.inc.php @@ -42,7 +42,9 @@ while ($i <= $rows) { <br /> <p align="center"> <?php if (is_array($dimensions)) { ?> - [<?php echo intval($dimensions['width']); ?>x<?php echo intval($dimensions['heigh']); ?>] + [<?php echo intval($dimensions['width']); ?>x<?php echo intval($dimensions['height']); ?>] + <?php } else { ?> + <span class="error"><?php echo _('Invalid'); ?></span> <?php } ?> [<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=select_art&image=<?php echo $key; ?>&album_id=<?php echo intval($_REQUEST['album_id']); ?>"><?php echo _('Select'); ?></a>] </p> |