forked from Wavyzz/dolibarr
Merge remote-tracking branch 'origin/3.4' into 3.5
Conflicts: htdocs/core/lib/functions2.lib.php
This commit is contained in:
@@ -551,9 +551,9 @@ function get_next_value($db,$mask,$table,$field,$where='',$objsoc='',$date='',$m
|
|||||||
|
|
||||||
// For debugging
|
// For debugging
|
||||||
//include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php');
|
//include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php');
|
||||||
//$mask='{yyyy}-{0000}';
|
//$mask='FA{yy}{mm}-{0000@99}';
|
||||||
//$date=dol_mktime(12, 0, 0, 1, 1, 1900);
|
//$date=dol_mktime(12, 0, 0, 1, 1, 1900);
|
||||||
//$date=dol_stringtotime('20121001');
|
//$date=dol_stringtotime('20130101');
|
||||||
|
|
||||||
// Extract value for mask counter, mask raz and mask offset
|
// Extract value for mask counter, mask raz and mask offset
|
||||||
if (! preg_match('/\{(0+)([@\+][0-9\-\+\=]+)?([@\+][0-9\-\+\=]+)?\}/i',$mask,$reg)) return 'ErrorBadMask';
|
if (! preg_match('/\{(0+)([@\+][0-9\-\+\=]+)?([@\+][0-9\-\+\=]+)?\}/i',$mask,$reg)) return 'ErrorBadMask';
|
||||||
|
|||||||
Reference in New Issue
Block a user