Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1:/tmp/cvs-serv15476
Modified Files:
Bayes.pm
Log Message:
fix several magnet display issues
Index: Bayes.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v
retrieving revision 1.136
retrieving revision 1.137
diff -C2 -d -r1.136 -r1.137
*** Bayes.pm 25 Apr 2003 07:02:05 -0000 1.136
--- Bayes.pm 26 Apr 2003 04:22:54 -0000 1.137
***************
*** 541,545 ****
if ( $noattype =~ m/\Q$regex\E/i ) {
! $self->{scores__} = "<b>Magnet Used</b><p>Classified to <font color=\"$self->{colors__}{$bucket}\">$bucket</font> because of magnet $type: $magnet</p>";
$self->{magnet_used__} = 1;
$self->{magnet_detail__} = "$type: $magnet";
--- 541,545 ----
if ( $noattype =~ m/\Q$regex\E/i ) {
! $self->{scores__} = "<b>Magnet Used</b><p>Classified to <font color=\"$self->{colors__}{$bucket}\">$bucket</font> because of magnet $type: " . Classifier::MailParse::splitline($magnet,0) . "</p>";
$self->{magnet_used__} = 1;
$self->{magnet_detail__} = "$type: $magnet";
|