fix: ignore item_metadata logs if no data change.
This commit is contained in:
parent
8ff6746ac8
commit
b16611ea1c
|
@ -740,7 +740,9 @@ class Logs extends Repository {
|
|||
}
|
||||
|
||||
private function insert_item_metadata( Entities\Item_Metadata_Entity $entity ) {
|
||||
|
||||
if($this->current_diff == false) {
|
||||
return;
|
||||
}
|
||||
$log = new Entities\Log();
|
||||
|
||||
$item_id = $entity->get_item()->get_id();
|
||||
|
|
Loading…
Reference in New Issue