From 849009e624d3f863e5d0bd9039315e32e10644cc Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Fri, 8 Sep 2023 19:37:25 +0800 Subject: [PATCH] Courses.php: better variable name ( -> ) --- Courses.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Courses.php b/Courses.php index a32aef8..5c1686c 100644 --- a/Courses.php +++ b/Courses.php @@ -578,19 +578,19 @@ include 'Header.php'; $academic_year = $row['Academic_Year']; $url = $row['URL']; $id = $row['Course_ID']; - $Status = $row['Status']; + $status = $row['Status']; - if($Status=="Joined") + if($status=="Joined") { echo "
- ($code) - $name
($url)     $Status      + ($code) - $name
($url)     $status     
Faculty: $faculty   Year: $academic_year   Lecturer: $lecturer
"; } else { echo "
- ($code) - $name $Status + ($code) - $name $status
Faculty: $faculty   Year: $academic_year   Lecturer: $lecturer
"; }