From 1c39518d6f75a96b7b557f614c5a6945dfadb264 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 29 Oct 2010 23:10:34 +0000 Subject: [PATCH] Fix: Dir for member files --- htdocs/adherents/document.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/document.php b/htdocs/adherents/document.php index 688bcac2d33..14a65528517 100644 --- a/htdocs/adherents/document.php +++ b/htdocs/adherents/document.php @@ -63,7 +63,7 @@ $sortfield=$_GET["sortfield"]; if (! $sortorder) $sortorder="ASC"; if (! $sortfield) $sortfield="name"; -$upload_dir = $conf->adherent->dir_output . "/" . get_exdir($id,2,0,1); +$upload_dir = $conf->adherent->dir_output . "/" . get_exdir($id,2,0,1) . '/' . $id; @@ -201,7 +201,7 @@ if ($id > 0) // List of document $param='&socid='.$societe->id; - $formfile->list_of_documents($filearray,$member,'member',$param); + $formfile->list_of_documents($filearray,$member,'member',$param, 0, get_exdir($id,2,0,1).'/'.$id.'/'); print "

"; }