summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-01-04 15:11:16 +0100
committerYorhel <git@yorhel.nl>2020-01-04 15:11:16 +0100
commit0efea750ac26629f48fb50a9cdc9d71bd08257b7 (patch)
tree818b2d1654c5e0b267e70e88be28085e0f5143e2
parent02cef019d30233603dd71cc837f382923cfd699a (diff)
ulist/API: Fix returning vnlist status=0 instead of buggy null
-rw-r--r--lib/Multi/API.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm
index 26ac0e53..d7c59378 100644
--- a/lib/Multi/API.pm
+++ b/lib/Multi/API.pm
@@ -1076,7 +1076,7 @@ my %GET_VNLIST = (
proc => sub {
$_[0]{uid}*=1;
$_[0]{vn}*=1;
- $_[0]{status} = defined $_[0]{status} ? $_[0]{status}*1 : undef;
+ $_[0]{status} = defined $_[0]{status} ? $_[0]{status}*1 : 0;
$_[0]{added} = int $_[0]{added};
$_[0]{notes} ||= undef;
},