From f9ee3dbcc1925c57fb0c0f5d4a287aa1b785d71b Mon Sep 17 00:00:00 2001 From: John Okely Date: Fri, 8 Apr 2016 09:58:34 +0800 Subject: [PATCH] MDL-53750 auth: fix logout bug in shibboleth Original patch by Dr. Michael Schneider --- auth/shibboleth/logout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/shibboleth/logout.php b/auth/shibboleth/logout.php index 60f44c3c6c4..db0f7199fe9 100644 --- a/auth/shibboleth/logout.php +++ b/auth/shibboleth/logout.php @@ -32,7 +32,7 @@ if ($action == 'logout' && !empty($redirect)) { redirect($redirect); } -} else if (!file_get_contents("php://input")) { +} else if (!empty(file_get_contents("php://input"))) { // Back channel logout. // Set SOAP header.