mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Removed number_format
This commit is contained in:
parent
a8839e0ef4
commit
93ba0717d8
|
@ -490,7 +490,7 @@ class Asset extends Depreciable
|
|||
->max('asset_tag');
|
||||
|
||||
$asset_tag_digits = number_format(preg_replace('/\D/', '', $temp_asset_tag));
|
||||
$asset_tag = number_format(preg_replace('/^0*/', '', $asset_tag_digits));
|
||||
$asset_tag = preg_replace('/^0*/', '', $asset_tag_digits);
|
||||
|
||||
if ($settings->zerofill_count > 0) {
|
||||
return $settings->auto_increment_prefix.Asset::zerofill(($asset_tag + 1),$settings->zerofill_count);
|
||||
|
|
Loading…
Reference in a new issue