From 1f602e3db2966293bdde52f7b28cf42c8053fee2 Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Tue, 8 Oct 2024 09:41:45 +0800 Subject: [PATCH] Fix bug 204: use better parameter name. --- Course.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Course.php b/Course.php index c5a6cfb..05b3e1f 100644 --- a/Course.php +++ b/Course.php @@ -647,11 +647,11 @@ include 'Header.php'; - function remarking(data) + function remarking(url) { const details = prompt("Please enter your remarking reasons",""); if (details != null) { - window.location.href = data+"&details="+details; + window.location.href = url+"&details="+details; } }