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 issue: On group/question preview a PHP error is thrown if the qid/gid is invalid #3849

Merged
merged 3 commits into from
May 21, 2024

Conversation

c-schmitz
Copy link
Contributor

@c-schmitz c-schmitz commented May 15, 2024

Fixes the issue that using invalid question ID or group ID in the preview URL would throw the PHP error
500: Internal Server Error array_key_exists(): Argument #2 ($array) must be of type array, null given

Now question ID and group ID are checked if they exist in that particualr survey (and group)

@c-schmitz c-schmitz merged commit 871eab5 into master May 21, 2024
20 checks passed
@c-schmitz c-schmitz deleted the bug/invalid_preview_url_parameters branch May 21, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant