Skip to content

Commit

Permalink
fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Jun 3, 2024
1 parent f543dc8 commit fa05996
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/Goals/Goals.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ public function getReportMetadataEnd(&$reports, $info)
&& empty($apiReportToUpdate['parameters'])
) {
// add overall Goal metrics computed during archiving by EnrichRecordWithGoalMetricSums
if (!isset($reportsWithGoals['hasGoalSumMetrics'])
if (
!isset($reportsWithGoals['hasGoalSumMetrics'])
|| $reportWithGoals['hasGoalSumMetrics']
) {
$apiReportToUpdate['metrics']['nb_conversions'] = $goalMetrics['nb_conversions'];
Expand Down

0 comments on commit fa05996

Please sign in to comment.