summaryrefslogtreecommitdiff
path: root/lib/POE/Filter/VNDBAPI.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-04 20:09:28 +0100
committerYorhel <git@yorhel.nl>2010-12-04 20:09:28 +0100
commitfa4de2123498d3f240d09a12811af80b8af7fa72 (patch)
tree5efce241c38a66b14c5f95d49903e74410b9793a /lib/POE/Filter/VNDBAPI.pm
parent14f690993eb8329f496277aa49b81ddc7e4cd1ae (diff)
API: Allow extra whitespace after "get .." command
Diffstat (limited to 'lib/POE/Filter/VNDBAPI.pm')
-rw-r--r--lib/POE/Filter/VNDBAPI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/POE/Filter/VNDBAPI.pm b/lib/POE/Filter/VNDBAPI.pm
index ceb9ae2d..1d99e4e1 100644
--- a/lib/POE/Filter/VNDBAPI.pm
+++ b/lib/POE/Filter/VNDBAPI.pm
@@ -141,7 +141,7 @@ sub get_one {
else {
my ($value, $rest) = split /$WS+/, $str, 2;
$str = $rest;
- push @ret, $value;
+ push @ret, $value if length $value;
}
}