summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-10-09 08:52:32 +0200
committerYorhel <git@yorhel.nl>2009-10-09 08:52:32 +0200
commitd96c546f8beb1fdc79847b462f46ced9332e4c48 (patch)
tree7d0bcf2c1be46e4a1dd53dbf718905c821e79e48 /lib
parent4304d30193646fdecbe2fcd081cfbce46ad82ed6 (diff)
SQL: Converted releases_media.medium to an ENUM type
Diffstat (limited to 'lib')
-rw-r--r--lib/VNDB/DB/Releases.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/Releases.pm b/lib/VNDB/DB/Releases.pm
index 672596da..05f42ab8 100644
--- a/lib/VNDB/DB/Releases.pm
+++ b/lib/VNDB/DB/Releases.pm
@@ -137,7 +137,7 @@ sub dbReleaseGet {
}
if($o{what} =~ /media/) {
- ($_->{medium}=~s/\s+//||1)&&push(@{$r->[$r{$_->{rid}}]{media}}, $_) for (@{$self->dbAll(q|
+ push(@{$r->[$r{$_->{rid}}]{media}}, $_) for (@{$self->dbAll(q|
SELECT rid, medium, qty
FROM releases_media
WHERE rid IN(!l)|,