From d9330c2a1730bde528f7015ac2dab8e549a27b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Tue, 8 Jun 2021 17:44:03 +0200 Subject: [PATCH] Fix incorrect update requirement detection --- .../ep_products/Classes/Service/ImportTimestampService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/typo3conf/ext/ep_products/Classes/Service/ImportTimestampService.php b/public/typo3conf/ext/ep_products/Classes/Service/ImportTimestampService.php index 3fc2844a..9abe9934 100644 --- a/public/typo3conf/ext/ep_products/Classes/Service/ImportTimestampService.php +++ b/public/typo3conf/ext/ep_products/Classes/Service/ImportTimestampService.php @@ -30,7 +30,9 @@ class ImportTimestampService $updatedTimestampPath = GeneralUtility::getFileAbsFileName($uploadTimestampFile); if (!$updatedTimestampPath || !file_exists($updatedTimestampPath)) { - return false; + $this->writeImportTimestamp($importTimestampFile); + + return true; } $line = trim(file($updatedTimestampPath)[0]);