mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
fix typo in comment
This commit is contained in:
parent
939d212175
commit
beba1d9727
|
@ -59,7 +59,7 @@ if (!is_object($content)) {
|
|||
UI::exitError(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))),getMLText("invalid_version"));
|
||||
}
|
||||
|
||||
// operation is admitted only for last deocument version
|
||||
// operation is admitted only for last document version
|
||||
$latestContent = $document->getLatestContent();
|
||||
if ($latestContent->getVersion()!=$version) {
|
||||
UI::exitError(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))),getMLText("invalid_version"));
|
||||
|
|
|
@ -56,7 +56,7 @@ if (!is_object($content)) {
|
|||
UI::exitError(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))),getMLText("invalid_version"));
|
||||
}
|
||||
|
||||
// operation is admitted only for last deocument version
|
||||
// operation is admitted only for last document version
|
||||
$latestContent = $document->getLatestContent();
|
||||
if ($latestContent->getVersion()!=$version) {
|
||||
UI::exitError(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))),getMLText("invalid_version"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user