Merge pull request #8105 from kadogo/fichinter-api-cannot-grab-the-good-informations

FIX: Global on $user parameter reset the variable
This commit is contained in:
Laurent Destailleur 2018-01-29 19:48:52 +01:00 committed by GitHub
commit d2b81c23c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ class Fichinter extends CommonObject
*/
function create($user, $notrigger=0)
{
global $conf, $user, $langs;
global $conf, $langs;
dol_syslog(get_class($this)."::create ref=".$this->ref);