Skip to content

Commit

Permalink
FIX #9328
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 29, 2018
1 parent 4d8424f commit 4283543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/user/document.php
Expand Up @@ -90,7 +90,7 @@
$object->getrights();
$entitytouseforuserdir = $object->entity;
if (empty($entitytouseforuserdir)) $entitytouseforuserdir=1;
$upload_dir = $conf->user->multidir_output[$entitytouseforuserdir] . "/" . $object->id ;
$upload_dir = (empty($conf->user->multidir_output[$entitytouseforuserdir]) ? $conf->user->dir_output : $conf->user->multidir_output[$entitytouseforuserdir]) . "/" . $object->id ;
}

// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
Expand Down

0 comments on commit 4283543

Please sign in to comment.