Skip to content

Commit

Permalink
Fix minor reprocessing logic mix-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
BusterNeece committed Feb 26, 2025
1 parent c2b8a59 commit 28dc8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/Media/MediaProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public function processMedia(
$mediaProcessedAt = $media->getMtime();

// No need to update if all of these conditions are true.
if (!$force || $fileModified <= $mediaProcessedAt) {
if (!$force && $fileModified <= $mediaProcessedAt) {
return false;
}

Expand Down

0 comments on commit 28dc8db

Please sign in to comment.