diff options
author | lpsolit%gmail.com <> | 2006-09-23 06:14:53 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-09-23 06:14:53 +0000 |
commit | e99b3c135ae31ba62001b8308a5c3369800971e9 (patch) | |
tree | ab1b7adc93b557c4a745c0ceaa755d91dc40a7b4 /Bugzilla | |
parent | b9fdf68a3c077b75496f4e274c5623bd16943847 (diff) | |
download | bugs-e99b3c135ae31ba62001b8308a5c3369800971e9.tar bugs-e99b3c135ae31ba62001b8308a5c3369800971e9.tar.gz bugs-e99b3c135ae31ba62001b8308a5c3369800971e9.tar.bz2 bugs-e99b3c135ae31ba62001b8308a5c3369800971e9.tar.xz bugs-e99b3c135ae31ba62001b8308a5c3369800971e9.zip |
Bug 353623: SanityCheck 'rescanallbugmail' parameter not working (no 'changer' specified) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/BugMail.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index e78be86ec..49615c596 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -168,7 +168,10 @@ sub ProcessOneBug { # Convert to names, for later display $values{'changer'} = $changer; - $values{'changername'} = Bugzilla::User->new({name => $changer})->name; + # If no changer is specified, then it has no name. + if ($changer) { + $values{'changername'} = Bugzilla::User->new({name => $changer})->name; + } $values{'assigned_to'} = user_id_to_login($values{'assigned_to'}); $values{'reporter'} = user_id_to_login($values{'reporter'}); if ($values{'qa_contact'}) { |