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

Form plugin in Front/New isn't executed, Only when Front/Both is set #2273

Open
fstorch opened this issue Sep 30, 2022 · 2 comments
Open

Form plugin in Front/New isn't executed, Only when Front/Both is set #2273

fstorch opened this issue Sep 30, 2022 · 2 comments

Comments

@fstorch
Copy link

fstorch commented Sep 30, 2022

if ($model->$k != 0)

($model->$k) != 0 is returning null in PHP 7 and 1 in PHP 8

https://fabrikar.com/forums/index.php?threads/form-email-plugin-doesnt-send-mails-in-php8.53466/

@fstorch
Copy link
Author

fstorch commented Oct 1, 2022

Suggested fix:
if (strlen($model->$k) != 0)

@Sophist-UK

This comment was marked as off-topic.

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

No branches or pull requests

2 participants