* Notice if no prev. mailing reports exist in a system
https://civicrm.stackexchange.com/questions/20943/blank-page-in-mailings-with-notice/
* Update Info.php
Spaces according to code style and https://test.civicrm.org/job/CiviCRM-Core-PR/17741/checkstyleResult/new/
* Update Info.php
White spaces correction
$result = civicrm_api3('ReportInstance', 'get', array(
'sequential' => 1,
'report_id' => 'mailing/' . $report));
- $reportIds[$report] = $result['values'][0]['id'];
+ if (!empty($result['values'])) {
+ $reportIds[$report] = $result['values'][0]['id'];
+ }
}
$result = array();
$result['crmMailing'] = include "$civicrm_root/ang/crmMailing.ang.php";