mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
set substitution user if set
This commit is contained in:
parent
28f0d7e1cb
commit
15477a076d
|
@ -42,6 +42,11 @@ if(USE_PHP_SESSION) {
|
|||
else
|
||||
exit;
|
||||
}
|
||||
if($userobj->isAdmin()) {
|
||||
if($resArr["su"]) {
|
||||
$userobj = $dms->getUser($resArr["su"]);
|
||||
}
|
||||
}
|
||||
$dms->setUser($userobj);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user