diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php index 236e016f580..fd2fad711ab 100755 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2008 Laurent Destailleur + * Copyright (C) 2004-2009 Laurent Destailleur * Copyright (C) 2005 Marc Barilley / Ocebo * Copyright (C) 2005 Regis Houssin * Copyright (C) 2005 Simon TOSSER @@ -21,11 +21,11 @@ */ /** - \file htdocs/comm/action/document.php - \ingroup agenda - \brief Page des documents joints sur les actions - \version $Id$ -*/ + * \file htdocs/comm/action/document.php + * \ingroup agenda + * \brief Page des documents joints sur les actions + * \version $Id$ + */ require_once("./pre.inc.php"); require_once(DOL_DOCUMENT_ROOT."/contact.class.php"); @@ -198,7 +198,7 @@ if ($objectid > 0) // List of document $param='&id='.$act->id; - $formfile->list_of_documents($filearray,$act,'actions',$param); + $formfile->list_of_documents($filearray,$act,'actions',$param,0,'',$user->rights->agenda->myactions->create); } else {