summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-02-14 09:48:53 +0100
committerByron Jones <bjones@mozilla.com>2012-02-14 09:48:53 +0100
commit9bece1978c5127a3ffa4505dda7bfedc7acd8d20 (patch)
treee7aeb7ecf9a54f3c044ac28d05e4099389ff3fdb
parent88e0ac4cb8bd8932005341e47ee7310a956366d7 (diff)
downloadbugzilla-9bece1978c5127a3ffa4505dda7bfedc7acd8d20.tar.gz
bugzilla-9bece1978c5127a3ffa4505dda7bfedc7acd8d20.tar.xz
bug 726932: flags are omitted from the attachment table on show_bug when the requestee hasnt set a real name
-rw-r--r--extensions/InlineHistory/web/inline-history.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/InlineHistory/web/inline-history.js b/extensions/InlineHistory/web/inline-history.js
index a6655e10b..94a1bc124 100644
--- a/extensions/InlineHistory/web/inline-history.js
+++ b/extensions/InlineHistory/web/inline-history.js
@@ -268,8 +268,8 @@ var inline_history = {
if (!match) continue;
requesteeLogin = this.htmlDecode(match[1]);
match = requesteeLogin.match(/<([^>]+)>/);
- if (!match) continue;
- requesteeLogin = match[1];
+ if (match)
+ requesteeLogin = match[1];
}
var flagValue = requestee ? flag + '(' + requesteeLogin + ')' : flag;