Post by wal_j » 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

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'];
}
Should Read

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'] = '';
}
Best Wishes
Alex

New member

Posts

Joined
Tue May 12, 2009 11:51 pm

Post by eka7a » Sat Aug 15, 2009 5:09 am

thanks

SSL Certificates


User avatar
Active Member

Posts

Joined
Sun Apr 12, 2009 12:59 am
Location - Türkiye

Post by Daniel » Sat Aug 15, 2009 10:41 am

I'll include this fix and release 1.3.2 tomorrow.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 18 guests