Przeglądaj źródła

Ticket #5016 - Reviews: Stats in trigger table aren't updated after edit.

AntonLV 1 rok temu
rodzic
commit
f35a7c3f09
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      template/scripts/BxBaseCmts.php

+ 2 - 0
template/scripts/BxBaseCmts.php

@@ -1439,6 +1439,8 @@ class BxBaseCmts extends BxDolCmts
                 if($this->isAttachImageEnabled())
                     $oForm->processImages($this, 'cmt_image', $iCmtUniqId, $iCmtId, $iCmtAuthorId, false);
 
+                $this->_triggerComment();
+
                 $this->isEditAllowed($aCmt, true);
 
                 if($this->_sMetatagsObj && ($oMetatags = BxDolMetatags::getObjectInstance($this->_sMetatagsObj)) !== false)