]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - Include Bugzilla::Error in PhabBugz's WebService.pm.
authorMark Côté <mcote@alumni.uwaterloo.ca>
Wed, 25 Jul 2018 18:00:06 +0000 (14:00 -0400)
committerdklawren <dklawren@users.noreply.github.com>
Wed, 25 Jul 2018 18:00:06 +0000 (14:00 -0400)
The ThrowUserError() calls in PhabBugz's WebService.pm were
causing errors as Bugzilla::Error wasn't being imported.

extensions/PhabBugz/lib/WebService.pm

index 0239ccf74036335e991e78590936b9c12240d022..142211c6ddfd1f33bd8f7ee70b2788e4bca3b965 100644 (file)
@@ -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;