Merge branch '14.0' of https://github.com/Dolibarr/dolibarr into 15.0

This commit is contained in:
Maxime Kohlhaas 2025-01-09 18:01:51 +01:00
commit 90c24b3d95

View File

@ -215,7 +215,7 @@ if (is_array($object->lines) && (count($object->lines) > 0)) {
exit(-1);
}
}
$user->getrights();
$user->getrights('', 1); // We force rights reload to have the correct permissions for user in the entity we just switched in
}
// Reload langs