mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-07 17:42:53 +01:00
Fix phpunit
This commit is contained in:
@@ -5337,7 +5337,7 @@ abstract class CommonObject
|
||||
*/
|
||||
public function indexFile($destfull, $update_main_doc_field)
|
||||
{
|
||||
global $user;
|
||||
global $conf, $user;
|
||||
|
||||
$upload_dir = dirname($destfull);
|
||||
$destfile = basename($destfull);
|
||||
|
||||
Reference in New Issue
Block a user