From cd84a5fd17c72496cf26d06e7ddbba9908415e4d Mon Sep 17 00:00:00 2001 From: Florian Henry <florian.henry@open-concept.pro> Date: Tue, 21 Jan 2014 13:48:47 +0100 Subject: [PATCH] remove debug --- htdocs/core/lib/functions2.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/lib/functions2.lib.php b/htdocs/core/lib/functions2.lib.php index 7d642eaf6dd..40b872520a5 100644 --- a/htdocs/core/lib/functions2.lib.php +++ b/htdocs/core/lib/functions2.lib.php @@ -534,10 +534,10 @@ function get_next_value($db,$mask,$table,$field,$where='',$objsoc='',$date='',$m // but we should use local year and month of user // For debugging - include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'); - $mask='FA{yy}{mm}-{0000@99}'; + //include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'); + //$mask='FA{yy}{mm}-{0000@99}'; //$date=dol_mktime(12, 0, 0, 1, 1, 1900); - $date=dol_stringtotime('20130101'); + //$date=dol_stringtotime('20130101'); // Extract value for mask counter, mask raz and mask offset if (! preg_match('/\{(0+)([@\+][0-9\-\+\=]+)?([@\+][0-9\-\+\=]+)?\}/i',$mask,$reg)) return 'ErrorBadMask'; -- GitLab