mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Update spamfilter.controller.php
This commit is contained in:
parent
dba6738fa8
commit
722f093267
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue