diff --git a/src/includes/routes.php b/src/includes/routes.php index 7102c468..be320591 100644 --- a/src/includes/routes.php +++ b/src/includes/routes.php @@ -1398,7 +1398,7 @@ function handle_LSobject_customAction($request) { if (LSconfig :: get('redirectToObjectList', false, 'bool', $config)) { 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)); } }