From 7c55abd715aacfe06b1bd30f6462f7850b6a9ed2 Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Mon, 15 Sep 2014 21:19:25 -0400 Subject: [PATCH] CRM-15311 condition on is_array rather than remove --- CRM/Report/Form/Event/Income.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Report/Form/Event/Income.php b/CRM/Report/Form/Event/Income.php index 4e2faff57c..43ecaa2a07 100644 --- a/CRM/Report/Form/Event/Income.php +++ b/CRM/Report/Form/Event/Income.php @@ -334,6 +334,9 @@ class CRM_Report_Form_Event_Income extends CRM_Report_Form_Event { } $noSelection = TRUE; } + elseif (!is_array($this->_params['id_value'])) { + $this->_params['id_value'] = explode(',', $this->_params['id_value']); + } $this->_rowsFound = count($this->_params['id_value']); -- 2.25.1