View | Details | Raw Unified | Return to bug 22566
Collapse All | Expand All

(-)a/misc/cronjobs/stockrotation.pl (-2 / +3 lines)
Lines 352-358 sub _report_per_branch { Link Here
352
        return {
352
        return {
353
            letter        => $letter,
353
            letter        => $letter,
354
            email_address => $branch->{email},
354
            email_address => $branch->{email},
355
            $status
355
            status        => $status
356
        };
356
        };
357
    }
357
    }
358
    return;
358
    return;
Lines 468-473 sub emit { Link Here
468
                }
468
                }
469
            }
469
            }
470
            else {
470
            else {
471
		$addressee ||= q{};
472
                $params->{admin_email} ||= q{};
471
                my $email =
473
                my $email =
472
                  "-------- Email message --------" . "\n\n" . "To: "
474
                  "-------- Email message --------" . "\n\n" . "To: "
473
                  . defined($addressee)               ? $addressee
475
                  . defined($addressee)               ? $addressee
474
- 

Return to bug 22566