Update api_access.class.php
This commit is contained in:
parent
359dae6af8
commit
0f325bdd65
@ -149,6 +149,8 @@ class DolibarrApiAccess implements iAuthenticate
|
||||
}
|
||||
$fuser->getrights();
|
||||
static::$user = $fuser;
|
||||
|
||||
// Set the global variable $user to the $user of API
|
||||
$user = $fuser;
|
||||
|
||||
if ($fuser->socid) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user