set decline_reason to NULL to not be printed when unset; try to fix unaccessible
This commit is contained in:
@@ -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"])) {
|
||||
|
||||
Reference in New Issue
Block a user