summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Producers.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNDB/Handler/Producers.pm')
-rw-r--r--lib/VNDB/Handler/Producers.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Producers.pm b/lib/VNDB/Handler/Producers.pm
index e6517b16..27ac1450 100644
--- a/lib/VNDB/Handler/Producers.pm
+++ b/lib/VNDB/Handler/Producers.pm
@@ -489,7 +489,7 @@ sub pxml {
$self->resHeader('Content-type' => 'text/xml; charset=UTF-8');
xml;
- tag 'producers', more => $np ? 'yes' : 'no', query => $f->{q};
+ tag 'producers', more => $np ? 'yes' : 'no', query => $f->{q}||'';
for(@$list) {
tag 'item', id => $_->{id}, $_->{name};
}