OC 1.3.2 Parola Değiştirmedeki Hatayı Düzeltme

admin

Administrator
Yönetici
Katılım
13 Ağu 2009
Mesajlar
3,200
Tepkime puanı
1
Puanları
38
Yaş
38
Konum
Bursa
Web sitesi
www.opencart-tr.com
Müşteri parolası değiştirmek istediği zaman bir hata(bug) meydana geliyor. Aşağıdaki değişikliği yaparak bu hatadan kurtulabilirisniz.

catalog/controller/account/password.php - 70. satır

Aşağıdaki kodu bul
PHP:
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'];
}

Bununla değiştir
PHP:
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'] = '';
}
 
Üst