Skip to content

Commit

Permalink
Update article.php
Browse files Browse the repository at this point in the history
Content plugins are not triggered without importing the content plugins.
  • Loading branch information
grantg182 committed Aug 3, 2022
1 parent 4530a28 commit c277ecb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion administrator/components/com_content/models/article.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ protected function cleanupPostBatchCopy(\JTableInterface $table, $newId, $oldId)
$fieldsData['com_fields'][$field->name] = $field->rawvalue;
}
}


JPluginHelper::importPlugin('content');
JEventDispatcher::getInstance()->trigger('onContentAfterSave', array('com_content.article', &$this->table, true, $fieldsData));
}

Expand Down

0 comments on commit c277ecb

Please sign in to comment.