mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 12:41:30 +00:00
fix creating AccessOperation
This commit is contained in:
parent
1a3d3c8f80
commit
0754a794d3
|
@ -40,7 +40,7 @@ if (!is_object($newuser)) {
|
||||||
UI::exitError(getMLText("rm_user"),getMLText("invalid_user_id"));
|
UI::exitError(getMLText("rm_user"),getMLText("invalid_user_id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
$accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings);
|
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||||
if($view) {
|
if($view) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user