fix calculation of checksum

This commit is contained in:
Uwe Steinmann 2021-01-27 16:27:24 +01:00
parent d5629361da
commit 9862eb5bf6

View File

@ -588,7 +588,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
exit; exit;
} }
$checksum = SeedDMS_Core_File::checksum($dms->contentDir, $latestContent->getPath()); $checksum = SeedDMS_Core_File::checksum($dms->contentDir.$latestContent->getPath());
if($checksum != $latestContent->getChecksum()) { if($checksum != $latestContent->getChecksum()) {
$this->errorMsg(getMLText('wrong_checksum')); $this->errorMsg(getMLText('wrong_checksum'));
} }