Merge pull request #1336 from atm-alexis/develop
Error on mercure bill's number function.
This commit is contained in:
commit
97e6acccde
@ -629,7 +629,7 @@ function get_next_value($db,$mask,$table,$field,$where='',$objsoc='',$date='',$m
|
|||||||
if ($maskraz > 0) // A reset is required
|
if ($maskraz > 0) // A reset is required
|
||||||
{
|
{
|
||||||
if ($maskraz == 99) {
|
if ($maskraz == 99) {
|
||||||
$maskraz = date('m');
|
$maskraz = date('m', $date);
|
||||||
$resetEveryMonth = true;
|
$resetEveryMonth = true;
|
||||||
}
|
}
|
||||||
if ($maskraz > 12) return 'ErrorBadMaskBadRazMonth';
|
if ($maskraz > 12) return 'ErrorBadMaskBadRazMonth';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user