mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
fix wrong access on settings array
This commit is contained in:
parent
1a63dbb1de
commit
d32df44f7b
|
@ -48,7 +48,7 @@ if (!is_object($content)) {
|
|||
UI::exitError(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))),getMLText("invalid_version"));
|
||||
}
|
||||
|
||||
if(!$this->settings->_enableVersionModification) {
|
||||
if(!$settings->_enableVersionModification) {
|
||||
UI::exitError(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))),getMLText("no_version_modification"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user