Prevent warning: Invalid argument supplied for foreach
Created by: elcapo
In some cases, CiviCRM triggers the tokenValues
hook with the $cids set to null. With this patch, we prevent a PHP Warning: Invalid argument supplied for foreach().
Created by: elcapo
In some cases, CiviCRM triggers the tokenValues
hook with the $cids set to null. With this patch, we prevent a PHP Warning: Invalid argument supplied for foreach().