Skip to content

Commit a918a19

Browse files
committed
Update GoogleMapsBusinessProvider.php
Original line: `$query = sprintf('%s&client=%s', $query, $this->clientId);` ...fails! client ID parameter should be supplied as `client_id` and not `client`. New line: `$query = sprintf('%s&client_id=%s', $query, $this->clientId);`
1 parent a6de18b commit a918a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Geocoder/Provider/GoogleMapsBusinessProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function getName()
6161
protected function buildQuery($query)
6262
{
6363
$query = parent::buildQuery($query);
64-
$query = sprintf('%s&client=%s', $query, $this->clientId);
64+
$query = sprintf('%s&client_id=%s', $query, $this->clientId);
6565

6666
if (null !== $this->privateKey) {
6767
$query = $this->signQuery($query);

0 commit comments

Comments
 (0)