From f2cbc954e80f3fb4d1129c6fb4f255940c1dcd89 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 14 Jan 2005 20:38:52 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Classe=20project.class.php=20mal=20charg?= =?UTF-8?q?=E9=20sur=20l'onglet=20aper=E7u.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture/apercu.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/facture/apercu.php b/htdocs/compta/facture/apercu.php index e66455ec074..246f0eaac55 100644 --- a/htdocs/compta/facture/apercu.php +++ b/htdocs/compta/facture/apercu.php @@ -1,7 +1,7 @@ * Copyright (C) 2004 Éric Seigne - * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2004-2005 Laurent Destailleur * * 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 @@ -22,7 +22,7 @@ * */ -/*! \file htdocs/compta/facture/apercu.php +/** \file htdocs/compta/facture/apercu.php \ingroup facture \brief Page de l'onglet aperçu d'une facture \version $Revision$ @@ -37,6 +37,10 @@ if (!$user->rights->facture->lire) $langs->load("bills"); require_once("../../facture.class.php"); +if ($conf->projet->enabled) { + require_once("../../projet/project.class.php"); +} + /* * Sécurité accés client