fix: save per-category menus via dedicated endpoint, not the main form
The main form exceeded max_input_vars (27 flows × 37 fields each) so PHP silently dropped per_type_menu before reaching the save handler. - Add POST /admin/bot-config/save-per-type — reads existing DB config, merges only the per_type_menu values, saves back - Per-type selects fire savePerType() onchange → AJAX → toast on success - Add public/.user.ini with max_input_vars=5000 as belt+suspenders - Remove array_is_list() (PHP 8.1) — replaced with PHP 7.4 compatible check Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
cae448a9c6
commit
8f51659f1e
@@ -0,0 +1 @@
|
||||
max_input_vars = 5000
|
||||
Reference in New Issue
Block a user