mirror of https://github.com/itflow-org/itflow
Properly format category name for HTML Displaying in budget
This commit is contained in:
parent
78de89271c
commit
c89dbb4df3
|
|
@ -65,7 +65,7 @@ $monthlyTotals = array_fill(1, 12, 0); // Initialize monthly totals for each mo
|
|||
if ($categories->num_rows > 0) {
|
||||
while($category = $categories->fetch_assoc()) {
|
||||
echo "<tr>";
|
||||
echo "<td>" . $category['category_name'] . "</td>";
|
||||
echo "<td>" . nullable_htmlentities($category['category_name']) . "</td>";
|
||||
$categoryTotal = 0;
|
||||
for ($month = 1; $month <= 12; $month++) {
|
||||
// Fetch the monthly budget for this category for 2022
|
||||
|
|
|
|||
Loading…
Reference in New Issue