Skip to content

Commit 9bef249

Browse files
sypherlevbshaffer
authored andcommitted
Added missing is_array check (#1249)
1 parent f3fadd5 commit 9bef249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Google/Service/Resource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public function createRequestUri($restPath, $params)
272272
if ($paramSpec['location'] == 'path') {
273273
$uriTemplateVars[$paramName] = $paramSpec['value'];
274274
} else if ($paramSpec['location'] == 'query') {
275-
if (isset($paramSpec['repeated']) && is_array($paramSpec['value'])) {
275+
if (is_array($paramSpec['value'])) {
276276
foreach ($paramSpec['value'] as $value) {
277277
$queryVars[] = $paramName . '=' . rawurlencode(rawurldecode($value));
278278
}

0 commit comments

Comments
 (0)