From 6e561214e7b171cd792a1cbbb8e79e89963a0ef2 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 30 Dec 2009 11:51:41 +0000 Subject: [PATCH] Fix: photo non visible --- htdocs/adherents/fiche.php | 2 +- htdocs/html.form.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index ff6af0af7e4..ce2e860fbb0 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -1085,7 +1085,7 @@ if ($rowid && $action != 'edit') // Login print ''.$langs->trans("Login").''.$adh->login.' '; print ''; - print $html->showphoto('member',$adh); + print $html->showphoto('memberphoto',$adh); print ''; print ''; diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 22f6b2eb412..77c0ea30b20 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -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";