diff --git a/accounting.php b/accounting.php
index a30ba7a..0599619 100644
--- a/accounting.php
+++ b/accounting.php
@@ -97,13 +97,13 @@ $ledger = get_ledger_paginated($search, $date_from, $date_to, $limit, $offset);
@@ -204,7 +204,7 @@ $ledger = get_ledger_paginated($search, $date_from, $date_to, $limit, $offset);
- | = htmlspecialchars($row['date']) ?> |
- = htmlspecialchars($row['description']) ?> |
- = htmlspecialchars($row['reference']) ?> |
- = htmlspecialchars($row['account_name']) ?> |
+ = htmlspecialchars($row['date'] ?? '') ?> |
+ = htmlspecialchars($row['description'] ?? '') ?> |
+ = htmlspecialchars($row['reference'] ?? '') ?> |
+ = htmlspecialchars($row['account_name'] ?? '') ?> |
= number_format($row['debit'], 2) ?> |
= number_format($row['credit'], 2) ?> |
- = htmlspecialchars(getAuditUserName($row['created_by'] ?? null)) ?> |
+ = htmlspecialchars(getAuditUserName($row['created_by'] ?? $row['updated_by'] ?? null)) ?> |
= htmlspecialchars(getAuditUserName($row['updated_by'] ?? null)) ?> |
|