mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 13:24:01 -07:00
parent
13e3cf6c0d
commit
64df3c5538
8 changed files with 47 additions and 47 deletions
|
@ -593,7 +593,7 @@ class bbcode
|
|||
if (!$bb_cfg['spam_filter_file_path']) {
|
||||
return $text;
|
||||
}
|
||||
if (is_null($spam_words)) {
|
||||
if (null === $spam_words) {
|
||||
$spam_words = file_get_contents($bb_cfg['spam_filter_file_path']);
|
||||
$spam_words = strtolower($spam_words);
|
||||
$spam_words = explode("\n", $spam_words);
|
||||
|
@ -738,7 +738,7 @@ class bbcode
|
|||
{
|
||||
global $datastore;
|
||||
|
||||
if (is_null($this->smilies)) {
|
||||
if (null === $this->smilies) {
|
||||
$this->smilies = $datastore->get('smile_replacements');
|
||||
}
|
||||
if ($this->smilies) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue