diff --git a/server/app/logout.php b/server/app/logout.php index 1de0657..1dc55ad 100644 --- a/server/app/logout.php +++ b/server/app/logout.php @@ -53,10 +53,9 @@ else // Returning the third error echo error(3); - } - - // Else if the request is empty (the user wasn't found) - echo error(3); + } else + // Else if the request is empty (the user wasn't found) + echo error(3); } // Else if one of them is null