Update spamfilter.controller.php

This commit is contained in:
Xvezda 2014-11-22 16:37:47 +09:00 committed by bnu
parent dba6738fa8
commit 722f093267

View file

@ -44,6 +44,7 @@ class spamfilterController extends spamfilter
$output = $oFilterModel->isDeniedIP();
if(!$output->toBool()) return $output;
// Check if there is a ban on the word
$text = '';
if($is_logged)
{
$text = $obj->title . ' ' . $obj->content . ' ' . $obj->tags;
@ -88,6 +89,7 @@ class spamfilterController extends spamfilter
$output = $oFilterModel->isDeniedIP();
if(!$output->toBool()) return $output;
// Check if there is a ban on the word
$text = '';
if($is_logged)
{
$text = $obj->content;