Profile image remove issue fixed if updating profile using default theme.

This commit is contained in:
sanjeev 2022-08-02 15:52:53 +05:30
parent 780fff3a13
commit 2f56948dd7
1 changed files with 6 additions and 0 deletions

View File

@ -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'])) {