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 |
||
|---|---|---|
| .. | ||
| index.php | ||
| settings.php | ||
| sites.php | ||
| users.php | ||
| vouchers.php | ||