Skip to content

Commit

Permalink
Merge pull request #13194 from seamuslee001/lab_core_498
Browse files Browse the repository at this point in the history
dev/core#498 Update Mailing Report to fix undefined property error
  • Loading branch information
eileenmcnaughton authored Dec 2, 2018
2 parents 845147d + b3057aa commit f90d376
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CRM/Mailing/BAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -1813,6 +1813,9 @@ public static function &report($id, $skipDetails = FALSE, $isSMS = FALSE) {

$report['mailing'] = array();
foreach (array_keys(self::fields()) as $field) {
if ($field == 'mailing_modified_date') {
$field = 'modified_date';
}
$report['mailing'][$field] = $mailing->$field;
}

Expand Down

0 comments on commit f90d376

Please sign in to comment.