Merge branch 'develop' of https://github.com/tainacan/tainacan into develop

This commit is contained in:
weryques 2019-01-21 15:04:46 -02:00
commit 0dcdc09647
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class Item_Metadata extends Repository {
$this->logs_repository->insert_log( $item_metadata, $diffs, $is_update );
}
do_action( 'tainacan-insert', $item_metadata, $diffs, $is_update );
do_action( 'tainacan-insert', $item_metadata, $this->use_logs ? $diffs : null, $is_update );
do_action( 'tainacan-insert-Item_Metadata_Entity', $item_metadata );
}