diff --git a/htdocs/docenti.php b/htdocs/docenti.php index 5a4e7db..d20bb64 100644 --- a/htdocs/docenti.php +++ b/htdocs/docenti.php @@ -10,7 +10,7 @@ $hours = [ 5 => "Quinta ora
11:55 - 12:50", 6 => "Sesta ora
12:50 - 13:50" ]; -if ($teacher == "No Lezione") { +if ($teacher == "No Lezione" || $teacher == "sconosciuto") { header("Location: index.php"); exit; }