Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions post/admin/admin_settings_online_payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
// Logging
logAction("Settings", "Edit", "$session_name edited online payment settings");


if ($config_stripe_account == 0) {
if ($config_stripe_enable && $config_stripe_account == 0) {
$_SESSION['alert_type'] = "error";
$_SESSION['alert_message'] = "Stripe payment account must be specified!";
} else {
Expand Down
Loading