[bugzilla-gnome-org-extensions] Fix a "undef to trick_taint" error when viewing a bug.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-extensions] Fix a "undef to trick_taint" error when viewing a bug.
- Date: Thu, 20 Nov 2014 22:15:18 +0000 (UTC)
commit 083916ec6580096a4aa70317d5222ee78e46761e
Author: Max Kanat-Alexander <mkanat bugzilla org>
Date: Mon Feb 8 13:18:59 2010 -0800
Fix a "undef to trick_taint" error when viewing a bug.
Extension.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Extension.pm b/Extension.pm
index 20b6637..b4fbe0a 100644
--- a/Extension.pm
+++ b/Extension.pm
@@ -261,7 +261,7 @@ sub bug_format_comment {
my ($text, $bug, $regexes, $comment) = @$args{qw(text bug regexes comment)};
return if !$comment;
my ($trace) = @{ Bugzilla::Extension::TraceParser::Trace->match(
- { comment_id => $comment->{id} }) };
+ { comment_id => $comment->id }) };
return if !$trace;
# $$text contains the wrapped text, and $comment contains the unwrapped
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]