Update spamfilter.controller.php

This commit is contained in:
Xvezda 2014-11-22 16:37:47 +09:00
parent 36641bd21c
commit 650737e707

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;