From 7fdf156f5fffd173affafc4c61cef9f10afe525e Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 22 Apr 2026 05:20:53 +0000 Subject: [PATCH] Fix sites modal save: disabled button doesn't submit name attribute Move form action identifiers to hidden inputs (add_site, edit_site) so the server-side isset() check always succeeds regardless of button state. Pattern matches index.php (create_voucher hidden input). Update JS loading-state selectors to match new button IDs. https://claude.ai/code/session_01UsuvFAmmeagtQa14QA4iaq --- admin/sites.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/admin/sites.php b/admin/sites.php index 2710302..e3853f0 100644 --- a/admin/sites.php +++ b/admin/sites.php @@ -513,6 +513,7 @@ $currentUser = $auth->getCurrentUser();