From 84c61c9411b9b10e644a0d6b1b7998780214d33e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 13 Sep 2012 16:11:08 +0200 Subject: [PATCH] Fix: remove obsolete code and use "propal" instead "propale" --- htdocs/comm/propal/document.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php index 60520d33ab5..129fda94ffe 100644 --- a/htdocs/comm/propal/document.php +++ b/htdocs/comm/propal/document.php @@ -164,12 +164,11 @@ if ($object->id > 0) // Affiche formulaire upload $formfile=new FormFile($db); - $formfile->form_attach_new_file($_SERVER['PHP_SELF'].'?id='.$object->id,'',0,0,$user->rights->propale->creer,50,$object); + $formfile->form_attach_new_file($_SERVER['PHP_SELF'].'?id='.$object->id,'',0,0,$user->rights->propal->creer,50,$object); // List of document - $param='&id='.$object->id; - $formfile->list_of_documents($filearray,$object,'propal',$param); + $formfile->list_of_documents($filearray,$object,'propal'); } else {