Skip to content

Commit

Permalink
Prevent syntax error in PHP 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
elivz committed Nov 16, 2016
1 parent 94c2678 commit c37dded
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
[
{
"version": "1.1.1",
"downloadUrl": "https://github.com/elivz/VzAddress-Craft/archive/1.1.1.zip",
"date": "2016-11-16T12:00:00+00:00",
"notes": [
"[Fixed] Prevent syntax error in PHP 5.3."
]
},
{
"version": "1.1.0",
"downloadUrl": "https://github.com/elivz/VzAddress-Craft/archive/1.1.0.zip",
Expand Down
4 changes: 2 additions & 2 deletions 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.1.0';
return '1.1.1';
}

public function getSchemaVersion() {
Expand Down Expand Up @@ -44,7 +44,7 @@ public function registerImportOptionPaths()
public function modifyImportRow($element, $map, $data)
{
$rowData = array_combine($map, $data);
$content = [];
$content = array();

foreach ($rowData as $key => $value) {
if (preg_match('/^(.*)\[(.*)]$/', $key, $matches)) {
Expand Down

0 comments on commit c37dded

Please sign in to comment.