Something went wrong while setting issue due date.
Updates of Simple Plugin - Call_Hook - variables are not emptied between call.
Closed
Updates of Simple Plugin - Call_Hook - variables are not emptied between call.
Description
There are some error of output during multiple script processing. There is a need to empty variables properly.
Distribution Name and Version
Debian Bullseye
FusionDirectory Version
1.4
PHP version used
7.4
Origin of php packages
Enterprise
Steps to Reproduce
Create two hooks pointing to the same script. A simple bash with printf "Hi /n" will work. When triggered, the printf will be seen twice for the second hook.
Expected behavior:
The same output described within the script.
Actual behavior:
Output is duplicated.
Reproduces how often: 100 Percent.