Course.php: better variable name .

Bug430-Eden2
Lan Hui 2023-08-24 21:02:18 +08:00
parent 6b1d41a02d
commit 28617c9854
1 changed files with 2 additions and 2 deletions

View File

@ -392,8 +392,8 @@ where Lab_Report_ID=$lab_repo_id and (lab_report_submissions.Student_id='$studen
$remarking_reason = $row['Remarking_Reason']; $remarking_reason = $row['Remarking_Reason'];
if ($status == 'Marked') { if ($status == 'Marked') {
$rm_data = "\Script.php?remarking=yes&id=$submission_id&url=$url&status=Remarking"; $remarking_url = "\Script.php?remarking=yes&id=$submission_id&url=$url&status=Remarking";
$remarking = "<button onclick='remarking(\"$rm_data\")' class='btn btn-sm btn-light'>Request remarking</button>"; $remarking = "<button onclick='remarking(\"$remarking_url\")' class='btn btn-sm btn-light'>Request remarking</button>";
} }
if ($status =='Remarking') { if ($status =='Remarking') {