OC 1.3.2 Customer Password Change
Posted: Sat Aug 15, 2009 2:26 am
When a customer attempts to change their password 2 undefined index errors occur.
password and confirm.
This is due to the following file.
/catalog/controller/account/password.php
Line 70
Should Read
Best Wishes
Alex
password and confirm.
This is due to the following file.
/catalog/controller/account/password.php
Line 70
Code: Select all
if (isset($this->request->post['password'])) {
$this->data['password'] = $this->request->post['password'];
} else {
$this->data['password'] = $this->request->post['password'];
}
if (isset($this->request->post['confirm'])) {
$this->data['confirm'] = $this->request->post['confirm'];
} else {
$this->data['confirm'] = $this->request->post['confirm'];
}
Code: Select all
if (isset($this->request->post['password'])) {
$this->data['password'] = $this->request->post['password'];
} else {
$this->data['password'] = '';
}
if (isset($this->request->post['confirm'])) {
$this->data['confirm'] = $this->request->post['confirm'];
} else {
$this->data['confirm'] = '';
}
Alex