Skip to content

Commit

Permalink
Correct handling of auto save
Browse files Browse the repository at this point in the history
  • Loading branch information
rliebi committed Mar 14, 2024
1 parent b6aa861 commit 51dc041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/Pimcore/ChangeListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private function shouldHandle(AssetEvent|DataObjectEvent|DocumentEvent $event):

$isAutoSave = $event->hasArgument('isAutoSave') && $event->getArgument('isAutoSave') === true;

if ($isAutoSave) {
if (!$isAutoSave) {
return true;
}

Expand Down

0 comments on commit 51dc041

Please sign in to comment.