@@ -1790,7 +1790,7 @@ class BxDolCmts extends BxDolFactory implements iBxDolReplaceable, iBxDolContent
protected function _triggerComment()
{
- if(!$this->_aSystem['trigger_table'])
+ if(!$this->_aSystem['trigger_table'] || !$this->_aSystem['trigger_field_id'] || !$this->_aSystem['trigger_field_comments'])
return false;
$iId = $this->getId();
@@ -21,6 +21,15 @@ class BxDolCmtsNotes extends BxTemplCmts
return BX_DOL_PG_HIDDEN;
}
+
+ /**
+ * TODO: Remove this method when 'TriggerFieldComments' fields will be cleaned or updated
+ * in all modules which have Notes.
+ */
+ protected function _triggerComment()
+ {
+ return false;
+ }
/** @} */