Set var recurring_total to start/default at 0 to prevent undefined errors

This commit is contained in:
Marcus Hill 2023-01-26 11:48:24 +00:00
parent e1c70af1f5
commit 8482cf87fa
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ $sql_clients = mysqli_query($mysqli,"SELECT * FROM clients WHERE company_id = $s
</thead>
<tbody>
<?php
$recurring_total = 0; // Default value
$recurring_total = 0; // Default value: 0
while ($row = mysqli_fetch_array($sql_clients)) {
$client_id = $row['client_id'];
$client_name = htmlentities($row['client_name']);