mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
fix wrong access on $settings
This commit is contained in:
parent
062097a438
commit
4e6081bacc
|
@ -50,7 +50,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