Update commondocgenerator.class.php
This commit is contained in:
parent
8cff0222cd
commit
889a5d0be1
@ -121,7 +121,7 @@ abstract class CommonDocGenerator
|
||||
global $conf, $extrafields;
|
||||
|
||||
if ($member->photo) {
|
||||
$logotouse = $conf->adherent->dir_output.'/'.$member->id.'/photos/'.$member->photo;
|
||||
$logotouse = $conf->adherent->dir_output.'/'.get_exdir(0, 0, 0, 1, $member, 'user').'/photos/'.$member->photo;
|
||||
} else {
|
||||
$logotouse = DOL_DOCUMENT_ROOT . '/public/theme/common/nophoto.png';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user