Skip to content

exclude_from_moderation not properly checked when submitting comments #3349

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

Closed
intoeetive opened this issue May 1, 2023 · 0 comments · Fixed by #3359
Closed

exclude_from_moderation not properly checked when submitting comments #3349

intoeetive opened this issue May 1, 2023 · 0 comments · Fixed by #3359
Assignees

Comments

@intoeetive
Copy link
Contributor

intoeetive commented May 1, 2023

When submitting comment as guest, the following is added to error log

ERROR - 2023-05-01 03:31:53 --> Severity: E_WARNING  --> Undefined array key "exclude_from_moderation" 
\ExpressionEngine-Private\system\ee\ExpressionEngine\Addons\comment\mod.comment.php 1515

We need to update the check to return true if it's set to y for any of assigned roles

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