Skip to content

guard against null for array_keys#1840

Open
peterjanssens wants to merge 1 commit intocollectiveaccess:dev/2.0from
libis:fix/cancel_new_search_form
Open

guard against null for array_keys#1840
peterjanssens wants to merge 1 commit intocollectiveaccess:dev/2.0from
libis:fix/cancel_new_search_form

Conversation

@peterjanssens
Copy link
Contributor

we experienced the same as #1839

it comes down to the $va_to_display_items being null after cancel instead of an empty array, this fix does the null coalescing.
After that the we have a sort of empty search form again (without any selectable items however - maybe it is better to redirect the cancel to the search form list instead ? other variables seem lacking there like search type [1103] error, but probably not that relevant when landing on a blanked search form)

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.

1 participant