Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -311,6 +311,11 @@ class _Text extends TextArea
|
||||
/* Set up profanity filters */
|
||||
foreach( \IPS\core\Profanity::getProfanity() AS $profanity )
|
||||
{
|
||||
if ( $profanity->action == 'block' )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( $profanity->m_exact )
|
||||
{
|
||||
$exactProfanity[ $profanity->type ] = $profanity;
|
||||
@@ -441,7 +446,7 @@ class _Text extends TextArea
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( mb_stristr( $value, $type ) )
|
||||
if ( mb_stristr( $this->value[ $k ], $type ) )
|
||||
{
|
||||
throw new \DomainException( \IPS\Member::loggedIn()->language()->addToStack( 'form_tags_not_allowed', FALSE, array( 'sprintf' => array( $v ) ) ) );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user