Skip to content

Conversation

@gitrequests
Copy link

Fix PHP warning: Undefined variable $operator in ERROR log. Because $operator variable is not defined in else statement.

Fix PHP warning: Undefined variable $operator in ERROR log. Because $operator variable is not defined in else statement.
@jolichter
Copy link

Hi, I get the same error by using the math hook:

(ERROR @ .../components/formit/src/FormIt/Request.php : 125) PHP warning: Undefined variable $operator
(ERROR @ .../components/formit/src/FormIt/Request.php : 131) PHP warning: Undefined variable $operator

The fix works, please use it in the next update.

Environment:

  • MODX 3.0.2
  • FormIt 5.0.1

@MrRoco MrRoco merged commit 2f3ead4 into Sterc:develop Feb 10, 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.

3 participants