FIX #9328
This commit is contained in:
parent
b9179f27a0
commit
d8bd76b8ce
@ -90,7 +90,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
$object->getrights();
|
$object->getrights();
|
||||||
$entitytouseforuserdir = $object->entity;
|
$entitytouseforuserdir = $object->entity;
|
||||||
if (empty($entitytouseforuserdir)) $entitytouseforuserdir=1;
|
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
|
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user