From: Mark Côté Date: Wed, 25 Jul 2018 18:00:06 +0000 (-0400) Subject: no bug - Include Bugzilla::Error in PhabBugz's WebService.pm. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dadc66b5c3895ff5d9a83de1dcde49f8f523554;p=thirdparty%2Fbugzilla.git no bug - Include Bugzilla::Error in PhabBugz's WebService.pm. The ThrowUserError() calls in PhabBugz's WebService.pm were causing errors as Bugzilla::Error wasn't being imported. --- diff --git a/extensions/PhabBugz/lib/WebService.pm b/extensions/PhabBugz/lib/WebService.pm index 0239ccf74..142211c6d 100644 --- a/extensions/PhabBugz/lib/WebService.pm +++ b/extensions/PhabBugz/lib/WebService.pm @@ -14,6 +14,7 @@ use warnings; use base qw(Bugzilla::WebService); use Bugzilla::Constants; +use Bugzilla::Error; use Bugzilla::User; use Bugzilla::Util qw(detaint_natural datetime_from time_ago trick_taint); use Bugzilla::WebService::Constants;