mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-17 23:11:29 +01:00
Finished new module to manage expense reports !
Fix export to support corectly multicompany
This commit is contained in:
@@ -220,7 +220,7 @@ class modUser extends DolibarrModules
|
||||
}
|
||||
$this->export_sql_start[$r]='SELECT DISTINCT ';
|
||||
$this->export_sql_end[$r] =' FROM '.MAIN_DB_PREFIX.'user as u';
|
||||
$this->export_sql_end[$r] .=' WHERE u.entity IN (0,'.$conf->entity.')';
|
||||
$this->export_sql_end[$r] .=' WHERE u.entity IN ('.getEntity('user',1).')';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user