Fix phpunit

This commit is contained in:
Laurent Destailleur
2022-01-04 15:13:04 +01:00
parent 956288081c
commit 0046cbbece

View File

@@ -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);