New: Task #10553 : Can attach files on members card.

This commit is contained in:
Laurent Destailleur
2010-08-29 21:44:35 +00:00
parent f24214d9ef
commit 96dfb4574f
8 changed files with 255 additions and 14 deletions

View File

@@ -3143,7 +3143,7 @@ class Form
if ($modulepart=='memberphoto')
{
$dir=$conf->adherent->dir_output;
$file=get_exdir($object->id,2).$object->photo;
$file=get_exdir($object->id,2).'photos/'.$object->photo;
$altfile=$object->id.".jpg"; // For backward compatibility
$email=$object->email;
}