mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
Fix handling noRedirect parameter of LSobject's customAction
This commit is contained in:
parent
59ecc0d7fa
commit
872a15af94
1 changed files with 1 additions and 1 deletions
|
@ -1398,7 +1398,7 @@ function handle_LSobject_customAction($request) {
|
||||||
if (LSconfig :: get('redirectToObjectList', false, 'bool', $config)) {
|
if (LSconfig :: get('redirectToObjectList', false, 'bool', $config)) {
|
||||||
LSurl :: redirect("object/$LSobject?refresh");
|
LSurl :: redirect("object/$LSobject?refresh");
|
||||||
}
|
}
|
||||||
else if (LSconfig :: get('noRedirect', false, 'bool', $config)) {
|
else if (!LSconfig :: get('noRedirect', false, 'bool', $config)) {
|
||||||
LSurl :: redirect("object/$LSobject/".urlencode($dn));
|
LSurl :: redirect("object/$LSobject/".urlencode($dn));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue