Commit c56962e2 authored by mattwire's avatar mattwire
Browse files

Fix copying more than 25 participants from previous event

parent e46db9bc
......@@ -112,6 +112,7 @@ class CRM_AdvancedEvents_Form_Task_CopyParticipants extends CRM_AdvancedEvents_F
$sourceParticipants = civicrm_api3('Participant', 'get', [
'event_id' => $params['event_source_id'],
'options' => ['limit' => 0],
]);
if (empty($sourceParticipants['count'])) {
CRM_Core_Error::statusBounce('The source event has no participants');
......
......@@ -13,8 +13,8 @@
<url desc="Support">https://www.mjwconsult.co.uk</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2018-11-16</releaseDate>
<version>0.7</version>
<releaseDate>2019-01-09</releaseDate>
<version>0.8</version>
<develStage>beta</develStage>
<compatibility>
<ver>5.7</ver>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment