Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #1222 #1230

Merged
merged 5 commits into from
Jun 19, 2024
Merged

Fixed #1222 #1230

merged 5 commits into from
Jun 19, 2024

Conversation

prabhat-webkul
Copy link
Collaborator

issue explained here #1222

@komal-sh-27
Copy link

I have checked this PR and it is working fine.

@harshit-webkul
Copy link
Collaborator

@prabhat-webkul, This PR is working fine.

Attached video/screenshot reference

issue.1222.krayin.fixed.22.apr.mp4

@suraj-webkul suraj-webkul self-assigned this Jun 13, 2024
@@ -64,7 +65,7 @@ public function save(array $data, $entityId)
$data[$attribute->code] = isset($data[$attribute->code]) && $data[$attribute->code] ? 1 : 0;
}

if (! isset($data[$attribute->code])) {
if (! Arr::exists($data, $attribute->code)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use array_key_exists, import arr helper when we actually needs something helpful from them.

@devansh-webkul devansh-webkul merged commit 6d39eae into krayin:master Jun 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants