Skip to content

Commit

Permalink
Fix sign up
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjaelp committed Feb 17, 2021
1 parent 777e0bb commit 54e2c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/signup.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
exit();
}

if (getHospitalById($conn, $hosp_id) !== true) {
if (getHospitalById($conn, $hosp_id) === false) {
header("location: ../pages/signup.php?error=noHospIdExists");
exit();
}
Expand Down

0 comments on commit 54e2c5e

Please sign in to comment.