Skip to content

Prevent warning: Invalid argument supplied for foreach

rajeshs requested to merge github/fork/elcapo/patch-1 into master

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().

Merge request reports