Skip to content

Commit

Permalink
Fix default value of error_address
Browse files Browse the repository at this point in the history
It's array, not string.
  • Loading branch information
adaamz committed Feb 22, 2015
1 parent 45fc863 commit 818bf51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/admin/controller/sale/customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ protected function getForm() {
if (isset($this->error['address'])) {
$data['error_address'] = $this->error['address'];
} else {
$data['error_address'] = '';
$data['error_address'] = array();
}

$url = '';
Expand Down Expand Up @@ -1586,4 +1586,4 @@ public function country() {
$this->response->setOutput(json_encode($json));
}

}
}

0 comments on commit 818bf51

Please sign in to comment.