- 🇵🇹Portugal jrochate
I have made a small array test to avoid null / empty $data array.
When new content is created and the state changes from creation state to another state it was impossible to trigger a notification. I have added a new hook, insert, which allows to notify an event not when workflow is updated but also when a new content has been just created. I have also modify workflow module to allow from workflow Notification form to include new trigger when state goes from Creation to any other state. I have also corrected mistypo in a file. I attach here the patch for both files. For more info contact me.
Regards, Ricardo
Needs review
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I have made a small array test to avoid null / empty $data array.