From cfa6eb83ebbffc4a0b8d1fd7ac38f77fd4698fc4 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 8 Oct 2019 16:31:23 +0000 Subject: [PATCH] fix #3118 --- inc/ws/Util/class.ws.util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ws/Util/class.ws.util.php b/inc/ws/Util/class.ws.util.php index 4c5dffda8..af307c72d 100644 --- a/inc/ws/Util/class.ws.util.php +++ b/inc/ws/Util/class.ws.util.php @@ -33,7 +33,7 @@ class wsUtil $cacheFile = $cacheBase . sha1($excelFile . '/' . filemtime($excelFile)); - if (file_exists($cacheFile) && !$assoc) { + if (file_exists($cacheFile) && filemtime($cacheFile) > filemtime($excelFile) && !$assoc) { $worksheets = json_decode(file_get_contents($cacheFile), true); } else { set_time_limit(0); -- 2.39.5