diff --git a/htdocs/compta/propal.php b/htdocs/compta/propal.php index d38aedfa0c1..6483a71f5d3 100644 --- a/htdocs/compta/propal.php +++ b/htdocs/compta/propal.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2003,2005 Rodolphe Quiedeville * Copyright (C) 2004-2005 Destailleur Laurent * Copyright (C) 2004 Eric Seigne + * Copyright (C) 2005 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,6 +35,8 @@ $user->getrights('propale'); if (!$user->rights->propale->lire) accessforbidden(); +$langs->load('compta'); + if ($conf->projet->enabled) require_once(DOL_DOCUMENT_ROOT.'/project.class.php'); if ($conf->commande->enabled) require_once(DOL_DOCUMENT_ROOT.'/commande/commande.class.php'); require_once(DOL_DOCUMENT_ROOT."/propal.class.php");