Skip to content

Add check for array_key_exists - #279

Open
owenherbert-catalyst wants to merge 1 commit into
h5p:masterfrom
owenherbert-catalyst:fix-undefined-array-key-error
Open

Add check for array_key_exists#279
owenherbert-catalyst wants to merge 1 commit into
h5p:masterfrom
owenherbert-catalyst:fix-undefined-array-key-error

Conversation

@owenherbert-catalyst

@owenherbert-catalyst owenherbert-catalyst commented Jan 19, 2026

Copy link
Copy Markdown

The current code assumes every dependency returned by getMissingLibraries() exists in the uploaded package's $libraries array, which is not true. As a result $libraries[libString] may not exist.

@owenherbert-catalyst
owenherbert-catalyst force-pushed the fix-undefined-array-key-error branch from e46993b to 38bfb31 Compare January 27, 2026 21:59
@VildeStabell VildeStabell moved this from Backlog to Picked up by core team in H5P Open Source Project Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Picked up by core team

Development

Successfully merging this pull request may close these issues.

2 participants