Skip to content

Commit

Permalink
Ticket #4603 - Antispam: Integrate Lasso Moderation API.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLV committed Apr 15, 2024
1 parent cb9a82e commit 74cbf5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/boonex/antispam/classes/BxAntispamModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public function serviceOnFormSubmitted($sModule, $iEntry, $sAction, &$oForm)
$this->serviceOnToxicContentPosted($sModule, $iEntry);
}

if($this->_oConfig->getAntispamOption('lm_enable') == 'on' && (bx_srv('system', 'is_module_content', [$sModule]) || bx_srv('system', 'is_module_context', [$sModule])) && ($oModule = BxDolModule::getInstance($sModule)) !== null) {
if($this->_oConfig->getAntispamOption('lm_enable') == 'on' && (bx_srv('system', 'is_module_content', [$sModule]) || bx_srv('system', 'is_module_context', [$sModule]) || in_array($sModule, ['bx_timeline'])) && ($oModule = BxDolModule::getInstance($sModule)) !== null) {
$CNF = &$oModule->_oConfig->CNF;

$iAuthorId = bx_get_logged_profile_id();
Expand Down

0 comments on commit 74cbf5f

Please sign in to comment.