A free open source IT asset/license management system
Use provided zerofill_count
Marcus Moore96379d0a6234
diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.phpindex b89a221faa..1f84ecf7c6 100755--- a/app/Http/Controllers/SettingsController.php+++ b/app/Http/Controllers/SettingsController.php@@ -192,6 +192,7 @@ class SettingsController extends Controller$settings->next_auto_tag_base = 1;$settings->auto_increment_assets = $request->input('auto_increment_assets', 0);$settings->auto_increment_prefix = $request->input('auto_increment_prefix');+ $settings->zerofill_count = $request->input('zerofill_count', 5);if ((! $user->isValid()) || (! $settings->isValid())) {return redirect()->back()->withInput()->withErrors($user->getErrors())->withErrors($settings->getErrors());