diff options
author | Yorhel <git@yorhel.nl> | 2019-07-08 15:59:20 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-07-08 15:59:20 +0200 |
commit | 3c4f0a0f2e12a83f87d1a6a4e9c29053d22203be (patch) | |
tree | 967616a47ee22c8fc9e5294137474fdc8641b6f1 | |
parent | ab05632cd6d2c1edfb5791711614b1633f72b194 (diff) |
Handler::Producers: Fix "undefined value" at xml result without query string
-rw-r--r-- | lib/VNDB/Handler/Producers.pm | 2 |
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}; } |