From 355b82ab638b1700c0d055e79c2f754b72d5997b Mon Sep 17 00:00:00 2001
From: williamnixon20 <75229742+williamnixon20@users.noreply.github.com>
Date: Fri, 6 Oct 2023 18:09:58 +0700
Subject: [PATCH] fix sighting edit yg td gagal

---
 public/view/sighting.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/view/sighting.php b/public/view/sighting.php
index bfa9bf4..aefed55 100644
--- a/public/view/sighting.php
+++ b/public/view/sighting.php
@@ -84,7 +84,7 @@
                             </span>
                         </div>
                         <div class="sighting-cat-id" style="display: none;">
-                            <?= htmlspecialchars($cat['cat_id']) ?>
+                            <?= htmlspecialchars($sighting['cat_id']) ?>
                         </div>
 
                     </div>
-- 
GitLab