Merge branch 'Bug404-Edson' of http://121.4.94.30:3000/mrlan/LRR into Bug404-Edson

Bug404-Edson
Lan Hui 2022-06-17 23:01:57 +08:00
commit a939a45ecb
1 changed files with 1 additions and 0 deletions

View File

@ -558,6 +558,7 @@ if( $_SESSION['user_type']=="Student")
if(!empty($_GET["search"]) || !empty($_GET["faculty"])) if(!empty($_GET["search"]) || !empty($_GET["faculty"]))
{ {
$search = trim(mysqli_real_escape_string($con, $_GET["search"])); $search = trim(mysqli_real_escape_string($con, $_GET["search"]));
$search=strtoupper($_GET['search']);
$faculty = mysqli_real_escape_string($con, $_GET["faculty"]); $faculty = mysqli_real_escape_string($con, $_GET["faculty"]);
// the user has not entered something under "Find course by Code" // the user has not entered something under "Find course by Code"