[BUGFIX] Only persist processedFile if processing was successful
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / ProcessedFile.php
index 85cb84b..77915f0 100644 (file)
@@ -257,7 +257,7 @@ class ProcessedFile extends AbstractFile {
         * @return bool
         */
        public function isProcessed() {
-               return ($this->isPersisted() && !$this->needsReprocessing()) || $this->updated;
+               return $this->updated || ($this->isPersisted() && !$this->needsReprocessing());
        }
 
        /**