More Checkbox enhancements, remove js from dashboard if finanacial isnt selected

This commit is contained in:
johnnyq
2024-11-17 14:54:16 -05:00
parent b2fff24bd9
commit 9c24a780be
10 changed files with 22 additions and 26 deletions

View File

@@ -4,7 +4,7 @@ if (isset($_POST['edit_online_payment_settings'])) {
validateCSRFToken($_POST['csrf_token']);
$config_stripe_enable = intval($_POST['config_stripe_enable']);
$config_stripe_enable = intval($_POST['config_stripe_enable'] ?? 0);
$config_stripe_publishable = sanitizeInput($_POST['config_stripe_publishable']);
$config_stripe_secret = sanitizeInput($_POST['config_stripe_secret']);
$config_stripe_account = intval($_POST['config_stripe_account']);