From 5aad299c8cb376e5f1fb4c32c50f72382976ec53 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 21 Jan 2026 16:22:42 +0100 Subject: [PATCH] #7954 @0.5 --- src/CommandLine/Docling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommandLine/Docling.php b/src/CommandLine/Docling.php index af47db0..91af002 100644 --- a/src/CommandLine/Docling.php +++ b/src/CommandLine/Docling.php @@ -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 -- 2.39.5