Fix al calcolo seriali (#437)
This commit is contained in:
parent
3ab46c73a0
commit
c288d19499
|
@ -151,7 +151,7 @@ switch (post('op')) {
|
|||
preg_match("/(.*?)([\d]*$)/", $serial__end, $m);
|
||||
$serial_end = intval($m[2]);
|
||||
$n_serial = abs($serial_end - $serial_start) + 1;
|
||||
$serial_prefix = str_replace($serial_end, '', $serial__end);
|
||||
$serial_prefix = rtrim($serial__end,$serial_end);
|
||||
$serial_pad_length = strlen($serial__end) - strlen($serial_prefix);
|
||||
|
||||
// Altro
|
||||
|
|
Loading…
Reference in New Issue