fix :
Fatal error: Call to undefined function dol_time_plus_duree()
This commit is contained in:
parent
bcbe4e582c
commit
222eb18bb9
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
require '../main.inc.php';
|
require '../main.inc.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.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"]:'');
|
$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
|
if ($type =='' && !$user->rights->produit->lire) $type='1'; // Force global page on service page only
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user