spamBee: One trim too much..
This commit is contained in:
parent
2e14f12365
commit
30d80eb248
|
@ -456,7 +456,6 @@ class serendipity_event_spamblock_bee extends serendipity_event
|
|||
// Now blog- and entry title was stripped from comment.
|
||||
// Remove special letters, that might have been between them:
|
||||
$comment = trim(preg_replace('@[\s\-_:\(\)\|/]*@', '', $comment));
|
||||
$comment = trim($comment);
|
||||
|
||||
// Now that we stripped blog and entry title: Do we have an empty comment?
|
||||
if (empty($comment)) {
|
||||
|
|
Loading…
Reference in a new issue