From 7178a225ce7746cc2aa054480c40ee973cc82ab8 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Wed, 31 Oct 2018 08:43:26 -0400 Subject: [PATCH] Bug 1503182 - Fix data type of native bug count API return value --- Bugzilla/WebService/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index c1b98856b..5b867d7f8 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -632,7 +632,7 @@ sub search { return $data; } else { - return { bug_count => $data }; + return { bug_count => $self->type('int', scalar @$data) }; } } -- 2.47.3