+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$params['report_id'] = civicrm_api3('report_instance', 'getvalue', array('id' => $params['instance_id'], 'return' => 'report_id'));
}
- $class = civicrm_api3('option_value', 'getvalue', array(
+ $class = (string) civicrm_api3('option_value', 'getvalue', array(
'option_group_name' => 'report_template',
'return' => 'name',
'value' => $params['report_id'],