Skip to content

Commit 0250376

Browse files
stas17m1guelpf
authored andcommitted
fix build query
1 parent 433af6f commit 0250376

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Gitlab/HttpClient/Message/QueryStringBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public static function build($query)
1818
return static::rawurlencode($query);
1919
}
2020
return implode('&', array_map(function ($value, $key) {
21+
if (null === $value) return null;
2122
return static::encode($value, $key);
2223
}, $query, array_keys($query)));
2324
}

0 commit comments

Comments
 (0)