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 TypeError in ajax_imap_folder_display #922

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

josaphatim
Copy link
Member

Fixed Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /path/to/vendor/jason-munro/cypht/lib/repository.php:79

Ajax page ajax_imap_folder_display called imap_message_list_type which uses Hm_IMAP_List class while placement of load_imap_servers_from_config was after it leading to have empty entites in Hm_Repository which can pass as second parameter of array_key_exists.

@kroky kroky merged commit 48727b6 into cypht-org:master Mar 7, 2024
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.

None yet

2 participants