Fix php 7.2 countable warning
authoreileen <emcnaughton@wikimedia.org>
Mon, 7 Jan 2019 22:32:03 +0000 (11:32 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 7 Jan 2019 22:53:32 +0000 (11:53 +1300)
commit10a359674a3a760e9937f53a3cc4c8fc28f9be2c
tree5ccef5b09e32932f961d562c0cc7dc05a9e75f03
parent31a968173724c70bf99a7c4c34f16260b98b620b
Fix php 7.2 countable warning

per https://lab.civicrm.org/dev/core/issues/406#note_12393
Warning: count(): Parameter must be an array or an object that implements Countable in CRM_Event_Form_Participant->submit() (line 1722 of .../all/modules/civicrm/CRM/Event/Form/Participant.php).
CRM/Event/Form/Participant.php