From dc86d09894ac40e2118e894749d56988ad92bec0 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 13 Sep 2023 15:13:04 +1000 Subject: [PATCH] Fix file receiving mtime being set --- app/Classes/File/Receive.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Classes/File/Receive.php b/app/Classes/File/Receive.php index 8f73964..eb1c3ff 100644 --- a/app/Classes/File/Receive.php +++ b/app/Classes/File/Receive.php @@ -117,8 +117,8 @@ class Receive extends Base fclose($this->f); // Set our mtime - Log::info(sprintf('%s:= Setting file [%s] to time [%s]',self::LOGKEY,$this->receiving->full_name,$this->receiving->mtime)); - touch($this->receiving->full_name,$this->receiving->mtime); + Log::info(sprintf('%s:= Setting file [%s] to time [%s]',self::LOGKEY,$this->receiving->full_name,$this->receiving->recvmtime)); + touch($this->receiving->full_name,$this->receiving->recvmtime); $this->f = NULL; // If we received a packet, we'll dispatch a job to process it, if we got it all