Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

fix: fix TypeError when selectedSectionsArray is null #180

Merged
merged 1 commit into from
May 28, 2024

Conversation

JoshuaLicense
Copy link
Contributor

Description

While this fixed the original issue, if selectedSectionsArray was null it threw a TypeError once it got to array_key_exists.

Related issue: https://dvsa.atlassian.net/browse/VOL-5438

Before submitting (or marking as "ready for review")

  • Does the pull request title follow the conventional commit specification?
  • Have you performed a self-review of the code
  • Have you have added tests that prove the fix or feature is effective and working
  • Did you make sure to update any documentation relating to this change?

@JoshuaLicense JoshuaLicense self-assigned this May 28, 2024
@JoshuaLicense JoshuaLicense merged commit f24429a into main May 28, 2024
6 checks passed
@JoshuaLicense JoshuaLicense deleted the fix-type-error-array-key-exists-null branch May 28, 2024 16:10
jerotire pushed a commit to dvsa/vol-app that referenced this pull request Aug 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants