Skip to content

Commit

Permalink
Don't lowercase the Google API key
Browse files Browse the repository at this point in the history
  • Loading branch information
elivz committed Oct 19, 2016
1 parent 473d8e8 commit cca11a2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
21 changes: 12 additions & 9 deletions changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
[
{
"version": "1.0.6",
"downloadUrl": "https://github.com/elivz/VzAddress-Craft/archive/1.0.6.zip",
"date": "2016-10-19T12:00:00+00:00",
"notes": [
"[Fixed] Leave API key in original case."
]
},
{
"version": "1.0.5",
"downloadUrl": "https://github.com/elivz/VzAddress-Craft/archive/1.0.5.zip",
Expand Down Expand Up @@ -38,16 +46,11 @@
]
},
{
"version": "1.0.3",
"downloadUrl": "https://github.com/elivz/VzAddress-Craft/archive/1.0.3.zip",
"date": "2016-03-29T23:00:00+0000",
"version": "1.0.0",
"downloadUrl": "",
"date": "2014-12-08T12:00:00+0000",
"notes": [
"**Now requires Craft 2.5 or higher.**",
"[Added] Plugin icon for Craft 2.5.",
"[Added] Can now use Address fields as a column in element indexes.",
"[Improved] Better custom field layout.",
"[Improved] Use the site's default locale as the default country for new fields.",
"[Fixed] Remove duplicate name in microformatted outputs."
"Initial release for Craft."
]
}
]
2 changes: 1 addition & 1 deletion vzaddress/VzAddressPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function getName() {
}

public function getVersion() {
return '1.0.5';
return '1.0.6';
}

public function getSchemaVersion() {
Expand Down
2 changes: 1 addition & 1 deletion vzaddress/models/VzAddress_AddressModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function staticMapUrl($params = array()) {
$size = isset($params['markerSize']) ? strtolower($params['markerSize']) : false;
$label = isset($params['markerLabel']) ? strtoupper($params['markerLabel']) : false;
$color = isset($params['markerColor']) ? strtolower($params['markerColor']) : false;
$key = isset($params['key']) ? strtolower($params['key']) : false;
$key = isset($params['key']) ? $params['key'] : false;

// Normalize the color parameter
$color = str_replace('#', '0x', $color);
Expand Down

0 comments on commit cca11a2

Please sign in to comment.