From 9bece1978c5127a3ffa4505dda7bfedc7acd8d20 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 14 Feb 2012 16:48:53 +0800 Subject: bug 726932: flags are omitted from the attachment table on show_bug when the requestee hasnt set a real name --- extensions/InlineHistory/web/inline-history.js | 4 ++-- 1 file 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; -- cgit v1.2.3-24-g4f1b