set decline_reason to NULL to not be printed when unset; try to fix unaccessible

This commit is contained in:
2018-03-03 16:02:39 +01:00
parent e92c197e59
commit 379aa26e6d
2 changed files with 5 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ try {
if (isset($_GET["allow"])) {
$action = RegisterState::RegistrationAccepted;
}
$decline_reason = "Noch nicht implementiert";
$decline_reason = NULL;
if (isset($_GET["deny"])) {
$action = RegisterState::RegistrationDeclined;
if (isset($_GET["reason"])) {