Skip to content

Commit df2bb72

Browse files
committed
Fix bug in Server controller caused by missing null check.
1 parent 6b41ad0 commit df2bb72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/ServerController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function getProfilePage() {
119119
}
120120

121121
public function getResponseType() {
122-
$responseTypes = explode(" ", $_GET['response_type']);
122+
$responseTypes = explode(" ", $_GET['response_type'] ?? '');
123123
foreach ($responseTypes as $responseType) {
124124
switch ($responseType) {
125125
case "token":

0 commit comments

Comments
 (0)