From 2d4c7b7581d26c621389451ae5fe88faba31961e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 26 Jan 2021 18:06:17 +0100 Subject: [PATCH] fix calculation of checksum --- views/bootstrap/class.ViewDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index cb46c7684..5a585d6f3 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -621,7 +621,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { exit; } - $checksum = SeedDMS_Core_File::checksum($dms->contentDir, $latestContent->getPath()); + $checksum = SeedDMS_Core_File::checksum($dms->contentDir.$latestContent->getPath()); if($checksum != $latestContent->getChecksum()) { $this->errorMsg(getMLText('wrong_checksum')); }