do not echo error if no folder is set

This commit is contained in:
Uwe Steinmann 2019-05-02 18:17:49 +02:00
parent da75a7f4b9
commit 5734d9808e

View File

@ -37,9 +37,6 @@ $folder = null;
if (isset($_GET["folderid"]) && is_numeric($_GET["folderid"])) {
$folderid = intval($_GET["folderid"]);
$folder = $dms->getFolder($folderid);
if (!is_object($folder)) {
UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_folder_id"))), getMLText("invalid_folder_id"));
}
}