do not issue an error if access on library folder is forbitten

just disable the upload from the library folder
This commit is contained in:
Uwe Steinmann 2016-04-22 12:25:26 +02:00
parent 8a47cdd1da
commit c6121ff201

View File

@ -58,7 +58,8 @@ if($settings->_libraryFolder) {
}
if ($libfolder->getAccessMode($user) < M_READ) {
UI::exitError(getMLText("folder_title", array("foldername" => htmlspecialchars($libfolder->getName()))), getMLText("access_denied"));
$libfolder = null;
// UI::exitError(getMLText("folder_title", array("foldername" => htmlspecialchars($libfolder->getName()))), getMLText("access_denied"));
}
} else {
$libfolder = null;