Skip to content

Conversation

LeMernbag
Copy link
Contributor

Bug:

  • current conditional only checks whether the key exists, which is does by default, so this always returns true.

Resolution:

  • check isset() first and then verify that the value isn't empty before assigning it

Validates that the value of the $saved_settings[$key] isn't empty before assigning it
@vvuksan vvuksan merged commit 0e716fb into fastly:master Dec 28, 2023
@LeMernbag LeMernbag deleted the master-1 branch January 3, 2024 14:12
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.

2 participants