]> _ Git - cubist_util.git/commitdiff
#7954 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 21 Jan 2026 15:22:42 +0000 (16:22 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 21 Jan 2026 15:22:42 +0000 (16:22 +0100)
src/CommandLine/Docling.php

index af47db01d76a97b1f1e7b88154c66954aac2a07d..91af002f87eb70a7ca07ff6a7218d6660a3e0d0a 100644 (file)
@@ -52,6 +52,6 @@ class Docling extends CommandLine
     public static function isCached($image, $locale = null)
     {
         $out = self::cache($image, $locale);
-        return file_exists($out) && filemtime($out) > filemtime($image) && filesize($out) > 0;
+        return file_exists($out) && filemtime($out) > filemtime($image);
     }
 }
\ No newline at end of file