Skip to content

Commit

Permalink
Merge pull request #66 from valantic/fix-autosave
Browse files Browse the repository at this point in the history
Correct handling of auto save
  • Loading branch information
limenet committed Mar 14, 2024
2 parents e7844d3 + dcb4f65 commit 9ed777a
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 9ed777a

Please sign in to comment.