summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-09-11 08:49:48 +0200
committerByron Jones <bjones@mozilla.com>2013-09-11 08:49:48 +0200
commit3d0b5e9b5a522d2a4a107017b607b1b3b259577a (patch)
treed0a8cb27aa84576c4386574fa51144989c95b1ed
parent2e44ee8fbe496a192099ba894df9dabd1b4fd6a7 (diff)
downloadbugzilla-3d0b5e9b5a522d2a4a107017b607b1b3b259577a.tar.gz
bugzilla-3d0b5e9b5a522d2a4a107017b607b1b3b259577a.tar.xz
Fix uninit warning in user profile ext when clearing QA contact
-rw-r--r--extensions/UserProfile/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/UserProfile/Extension.pm b/extensions/UserProfile/Extension.pm
index 22cc91d18..189e91f65 100644
--- a/extensions/UserProfile/Extension.pm
+++ b/extensions/UserProfile/Extension.pm
@@ -91,7 +91,7 @@ sub _bug_touched {
$assigned_to = $bug->assigned_to;
}
if (exists $args->{changes}->{qa_contact}
- && $args->{changes}->{qa_contact}->[1] ne $user->login)
+ && ($args->{changes}->{qa_contact}->[1] || '') ne $user->login)
{
$qa_contact = $bug->qa_contact;
}