Api test failures fix round1
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 29 Dec 2014 10:23:43 +0000 (15:53 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 28 Jan 2015 07:46:24 +0000 (13:16 +0530)
api/v3/ReportTemplate.php

index a4691c634d59dba5a2f2f426c741d0a2bd611a53..071994a11390d1f2a1645108d8f64239626ec423 100644 (file)
@@ -113,7 +113,7 @@ function _civicrm_api3_report_template_getrows($params) {
   }
 
   $class = civicrm_api3('option_value', 'getvalue', array(
-    'option_group_id' => 'report_template',
+    'option_group_name' => 'report_template',
     'return' => 'name',
     'value' => $params['report_id'],
     )