MDL-53750 shibboleth: Passing a var to empty for PHP 5.4
This commit is contained in:
committed by
Andrew Nicols
parent
f824aceb50
commit
3032b16b3d
@@ -23,6 +23,7 @@ if (!is_enabled_auth('shibboleth')) {
|
||||
}
|
||||
|
||||
// Front channel logout.
|
||||
$inputstream = file_get_contents("php://input");
|
||||
if ($action == 'logout' && !empty($redirect)) {
|
||||
|
||||
if ($USER->auth == 'shibboleth') {
|
||||
@@ -32,7 +33,7 @@ if ($action == 'logout' && !empty($redirect)) {
|
||||
redirect($redirect);
|
||||
}
|
||||
|
||||
} else if (!empty(file_get_contents("php://input"))) {
|
||||
} else if (!empty($inputstream)) {
|
||||
|
||||
// Back channel logout.
|
||||
// Set SOAP header.
|
||||
|
||||
Reference in New Issue
Block a user