fix constructor for AccessRestrictions

This commit is contained in:
Uwe Steinmann 2024-09-18 17:53:00 +02:00
parent cc41763a96
commit 43b1bb6fd8

View File

@ -29,7 +29,7 @@ require_once("inc/inc.Authentication.php");
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
$accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings);
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
if (!$settings->_enableDebugMode) {
UI::exitError(getMLText("admin_tools"),getMLText("access_denied"));
}