summaryrefslogtreecommitdiff
path: root/utils/modules/discography.php
diff options
context:
space:
mode:
Diffstat (limited to 'utils/modules/discography.php')
-rw-r--r--utils/modules/discography.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/modules/discography.php b/utils/modules/discography.php
index bc37022..2f4589d 100644
--- a/utils/modules/discography.php
+++ b/utils/modules/discography.php
@@ -251,9 +251,10 @@ class Discography {
public function getImageSize($cat)
{
switch($cat) {
- default:
case "cover":
return new ImageSize($this->coverwidth, $this->coverheight);
+ default:
+ die(404);
}
}