summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Extension.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Extension.pm b/Bugzilla/Extension.pm
index 08d5c86c3..48efd76f6 100644
--- a/Bugzilla/Extension.pm
+++ b/Bugzilla/Extension.pm
@@ -281,8 +281,8 @@ For example, here's an implementation of a hook named C<foo_start>
that gets an argument named C<bar>:
sub foo_start {
- my ($self, $params) = @_;
- my $bar = $params->{bar};
+ my ($self, $args) = @_;
+ my $bar = $args->{bar};
print "I got $bar!\n";
}