summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-09-23 08:14:53 +0200
committerlpsolit%gmail.com <>2006-09-23 08:14:53 +0200
commite99b3c135ae31ba62001b8308a5c3369800971e9 (patch)
treeab1b7adc93b557c4a745c0ceaa755d91dc40a7b4 /Bugzilla
parentb9fdf68a3c077b75496f4e274c5623bd16943847 (diff)
downloadbugzilla-e99b3c135ae31ba62001b8308a5c3369800971e9.tar.gz
bugzilla-e99b3c135ae31ba62001b8308a5c3369800971e9.tar.xz
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.pm5
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'}) {