Fatal error: Call to undefined function dol_time_plus_duree()
This commit is contained in:
Grand Philippe 2013-09-03 17:37:22 +02:00
parent bcbe4e582c
commit 222eb18bb9

View File

@ -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