- Issue created by @hoanglv
The problem is that if $data['invalidations'] does not have an element at index 0, the token replacement will not work, even if there are other elements in $data['invalidations'].
We need to use reset($data['invalidations']) instead of $data['invalidations'][0] for the condition.
Active
3.6
Code