https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7164

--- Comment #9 from David Birnbaum <[email protected]> ---
Actually, that fix screws things up because it's expecting to return undef.  My
ugly patch would instead be to just check to remove the warning:

1419,1423c1415,1416
<         if ( defined( $msgscore )) {
<         $delta = ($self->total() + $msgscore) / (1 + $self->count()) -
$msgscore;
<         } else {
<         $delta = ($self->total()) / (1 + $self->count());
<         }
---
>             $delta = ($self->total() + $msgscore) / (1 + $self->count()) - 
> $msgscore;
>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to