diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/BugUrl/Bugzilla.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/BugUrl/Bugzilla.pm b/Bugzilla/BugUrl/Bugzilla.pm index f8e714d9d..53f174556 100644 --- a/Bugzilla/BugUrl/Bugzilla.pm +++ b/Bugzilla/BugUrl/Bugzilla.pm @@ -59,4 +59,9 @@ sub _check_value { return $uri; } +sub target_bug_id { + my ($self) = @_; + return new URI($self->name)->query_param('id'); +} + 1; |