mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +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;
|
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'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user