Fix regression introduced by 991e1b2747

This commit is contained in:
Laurent Destailleur 2019-11-11 13:17:36 +01:00
parent 0a607d697f
commit 6a4ba74ee7

View File

@ -83,7 +83,7 @@ if (empty($conf->global->MAIN_DISABLE_SUGGEST_REF_AS_PREFIX))
// Show upload form (document and links)
$formfile->form_attach_new_file(
$_SERVER["PHP_SELF"].'?id='.$object->id.(empty($withproject)?'':'&withproject=1').(empty($uri)?'':$uri),
$_SERVER["PHP_SELF"].'?id='.$object->id.(empty($withproject)?'':'&withproject=1'),
'',
0,
0,