From 496b213a888864cb7ee5296dd33e4c3fd22cb28b Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Tue, 10 Oct 2017 12:34:36 -0600 Subject: [PATCH] Fix Business/CommonBugs#1 (expired session logout error) --- action.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.php b/action.php index f4f4851..f7ed372 100644 --- a/action.php +++ b/action.php @@ -6,7 +6,9 @@ require_once __DIR__ . "/required.php"; -dieifnotloggedin(); +if ($VARS['action'] !== "signout") { + dieifnotloggedin(); +} /** * Redirects back to the page ID in $_POST/$_GET['source'] with the given message ID.