From: vincent@cubedesigners.com Date: Tue, 8 Oct 2019 16:31:23 +0000 (+0000) Subject: fix #3118 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=cfa6eb83ebbffc4a0b8d1fd7ac38f77fd4698fc4;p=cubeextranet.git fix #3118 --- 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);