Skip to content

Commit 3928502

Browse files
committed
Check for multi-value query string parameters properly
1 parent 9f1b5d5 commit 3928502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ while (true) {
102102

103103
$uri = $event['path'];
104104

105-
if (count($event['multiValueQueryStringParameters']) > 0) {
105+
if (array_key_exists('multiValueQueryStringParameters', $event)) {
106106
$first = TRUE;
107107
foreach ($event['multiValueQueryStringParameters'] as $name => $values) {
108108
foreach ($values as $value) {

0 commit comments

Comments
 (0)