From 222eb18bb9450bfd2d3c5388a37602e5dfded803 Mon Sep 17 00:00:00 2001 From: Grand Philippe Date: Tue, 3 Sep 2013 17:37:22 +0200 Subject: [PATCH] fix : Fatal error: Call to undefined function dol_time_plus_duree() --- htdocs/product/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/product/index.php b/htdocs/product/index.php index f9eb16e23de..6104702f6cd 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -25,6 +25,7 @@ require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; $type=isset($_GET["type"])?$_GET["type"]:(isset($_POST["type"])?$_POST["type"]:''); if ($type =='' && !$user->rights->produit->lire) $type='1'; // Force global page on service page only