Committer: aurbanowich
LJSUP-7424 ACME Content Scanning of Posts for Negative Terms+ subject checking
U trunk/cgi-bin/LJ/Entry.pm
Modified: trunk/cgi-bin/LJ/Entry.pm =================================================================== --- trunk/cgi-bin/LJ/Entry.pm 2011-02-01 04:27:50 UTC (rev 18165) +++ trunk/cgi-bin/LJ/Entry.pm 2011-02-01 04:33:56 UTC (rev 18166) @@ -1360,7 +1360,7 @@ my $tags = $self->prop('personifi_tags'); return $1 if $tags =~ /nterms:(\w+)/; - my $nterms = ( $self->event_raw =~ /($LJ::NEGATIVE_TERMS)/)?'no':'yes'; + my $nterms = ( ($self->subject_raw . ' '. $self->event_raw) =~ /($LJ::NEGATIVE_TERMS)/) ?'no':'yes'; $self->set_prop(personifi_tags => ($tags?"$tags,":'') . "nterms:$nterms"); return $nterms; }