Profile image remove issue fixed if updating profile using default theme.
This commit is contained in:
parent
780fff3a13
commit
2f56948dd7
|
|
@ -79,6 +79,12 @@ class CustomerController extends Controller
|
|||
unset($data['date_of_birth']);
|
||||
}
|
||||
|
||||
if (
|
||||
! isset($data['image'] )
|
||||
) {
|
||||
$data['image']['image_0'] = '';
|
||||
}
|
||||
|
||||
$data['subscribed_to_news_letter'] = isset($data['subscribed_to_news_letter']) ? 1 : 0;
|
||||
|
||||
if (isset($data['oldpassword'])) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue