|
|
@@ -235,10 +235,10 @@ class Member extends Component
|
|
|
|
|
|
public function resetCertificateFields()
|
|
|
{
|
|
|
- $this->certificate_type = 'N';
|
|
|
+ $this->certificate_type = '';
|
|
|
$this->certificate_filename = '';
|
|
|
$this->certificate_filename_old = '';
|
|
|
- $this->certificate_expire_date = null;
|
|
|
+ $this->certificate_expire_date = date('Y-m-d', strtotime('+1 year'));
|
|
|
$this->certificate_status = 0;
|
|
|
}
|
|
|
|