Fixed broken Online Payments Settings Page due to a regression

This commit is contained in:
johnnyq 2023-03-11 19:34:30 -05:00
parent 6a92b132bf
commit 8fcc43d1fb
1 changed files with 1 additions and 2 deletions

View File

@ -2,8 +2,6 @@
require_once("inc_all_settings.php");
$sql_accounts = mysqli_query($mysqli, "SELECT * FROM accounts WHERE company_id = '$session_company_id'");
?>
<div class="card card-dark">
@ -51,6 +49,7 @@ $sql_accounts = mysqli_query($mysqli, "SELECT * FROM accounts WHERE company_id =
<select class="form-control select2" name="config_stripe_account" required>
<option value="">- Account -</option>
<?php
$sql_accounts = mysqli_query($mysqli, "SELECT * FROM accounts");
while ($row = mysqli_fetch_array($sql_accounts)) {
$account_id = intval($row['account_id']);
$account_name = htmlentities($row['account_name']);