]> _ Git - fluidbook_tools.git/commitdiff
wip #6112
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 20 Jul 2023 09:47:44 +0000 (11:47 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 20 Jul 2023 09:47:44 +0000 (11:47 +0200)
src/Jobs/ProcessFile.php

index b636b0dc1277347abb3d85487402a1fa1813631b..c86b4d48976fa61f8a480f2964082410d49a837f 100644 (file)
@@ -182,7 +182,7 @@ class ProcessFile {
         $do = false;
         if (!file_exists($res) || filesize($res) < $minsize) {
             $do = true;
-        } else if (isset($reffile) && filemtime($res) < filemtime($reffile)) {
+        } else if (isset($reffile) && file_exists($reffile) && filemtime($res) < filemtime($reffile)) {
             $do = true;
         }