forked from Wavyzz/dolibarr
Merge branch '20.0' of github.com:Dolibarr/dolibarr into 21.0
This commit is contained in:
@@ -245,7 +245,7 @@ if (is_array($object->lines) && (count($object->lines) > 0)) {
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
$user->loadRights();
|
||||
$user->loadRights('', 1); // We force rights reload to have the correct permissions for user in the entity we just switched in
|
||||
}
|
||||
|
||||
// Reload langs
|
||||
|
||||
Reference in New Issue
Block a user