Fix: photo non visible
This commit is contained in:
parent
f967f31a0a
commit
6e561214e7
@ -1085,7 +1085,7 @@ if ($rowid && $action != 'edit')
|
||||
// Login
|
||||
print '<tr><td>'.$langs->trans("Login").'</td><td class="valeur">'.$adh->login.' </td>';
|
||||
print '<td rowspan="'.$rowspan.'" align="center" valign="middle" width="25%">';
|
||||
print $html->showphoto('member',$adh);
|
||||
print $html->showphoto('memberphoto',$adh);
|
||||
print '</td>';
|
||||
print '</tr>';
|
||||
|
||||
|
||||
@ -2910,7 +2910,7 @@ class Form
|
||||
$file=$object->id.".jpg";
|
||||
$email=$object->email;
|
||||
}
|
||||
if ($modulepart=='member')
|
||||
if ($modulepart=='memberphoto')
|
||||
{
|
||||
$dir=$conf->adherent->dir_output;
|
||||
$file=$object->id.".jpg";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user