From 96379d0a6234521b113ec65856fb1c143dddf672 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 15 Jan 2025 16:39:50 -0800 Subject: [PATCH] Use provided zerofill_count --- app/Http/Controllers/SettingsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index 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());