-rw-r--r-- | backend/php/src/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/php/src/index.php b/backend/php/src/index.php index 35752f4..58c10a9 100644 --- a/backend/php/src/index.php +++ b/backend/php/src/index.php @@ -720,15 +720,15 @@ error_log("message"); $result["result"] = $parameters; } //============================================================= } else if (isset($_SESSION['K'])) { $result["error"] = "Wrong shared secret!"; - } else { - $result["result"] = "EXCEPTION"; - $result["message"] = "Trying to communicate without an active connection"; + } else { + $result["result"] = "EXCEPTION"; + $result["message"] = "Trying to communicate without an active connection"; } break; case "logout": error_log("logout"); session_destroy(); |