mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
fix calculation of checksum
This commit is contained in:
parent
d5629361da
commit
9862eb5bf6
|
@ -588,7 +588,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'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user