Skip to content

"internal_server_error" when submitting form with empty message #41

@MeliEve

Description

@MeliEve

Hi Erik, thanks for your hard work in this plugin. I have found an issue.
If you have Flamingo installed alongside this plugin, and you submit a form without a message, an error 500 will rise.
The error is produced in line 338 of file includes/cf7a-antispam-flamingo.php, and it happens because a string parameter ('none') is being passed to round().
It's an easy fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions